Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setuptools' test_loader parameter #1

Open
jezdez opened this issue Sep 1, 2011 · 2 comments
Open

Use setuptools' test_loader parameter #1

jezdez opened this issue Sep 1, 2011 · 2 comments
Assignees

Comments

@jezdez
Copy link
Contributor

jezdez commented Sep 1, 2011

In setuptools and distribute there is another parameter to setup() called test_loader (http://peak.telecommunity.com/DevCenter/setuptools#test-loader) which could be used to load the setuptest test runner instead of having to monkey patch the test command. Just an idea.. :)

@shaunsephton
Copy link

Very interesting, should be much better than monkey-patching. I've been looking through the code now but can't figure out how test_loader can be used to alter the actual test runner. Seems like test_loader only really influences test lookup and I'd still need to do some sort of wonkey-patching somewhere. Any clues, existing package example maybe? Thanks for the pointer nonetheless, I was unaware of test_loader.

@ghost ghost assigned shaunsephton Sep 1, 2011
@jezdez
Copy link
Contributor Author

jezdez commented Sep 5, 2011

Yeah, not sure about the usefulness of the parameter, to be honest. But you could even just do the monkey patch there, it's not like setuptools isn't doing the same extensively, too ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants