-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
setup.py test
says it runs tests, but it doesn't
#446
Comments
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco): The default behavior of setup.py test is to invoke the At this point, it may make sense for setuptools to run unittest with its default autodiscovery protocol if no overrides are supplied. |
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco): The output I get now is
Is that the expected output? |
Original comment by thomas-guettler (Bitbucket: thomas-guettler, GitHub: Unknown): The test gets executed. Nice, I am happy, thank you. But why does it get executed twice? |
Originally reported by: thomas-guettler (Bitbucket: thomas-guettler, GitHub: Unknown)
the pypa sampleproject contains a test, but if you run
setup.py test
it does not get executed.I opened an issue for the sampleproject, but I was told that this is an issue of setuptools.
See:
pypa/sampleproject#33
At the moment the string "running test" gets printed although no test was found. That is very confusing since no test was found.
What should happen if you run
setup.py test
and setuptools doesn't find any test?The text was updated successfully, but these errors were encountered: