Original comment byjaraco (Bitbucket: jaraco, GitHub: jaraco):
The default behavior of setup.py test is to invoke the test_suite indicated by the command or in defined in the distribution. Since sampleproject doesn't define a test_suite, the test command isn't expected to do anything. When setuptools was given, unittest didn't have any discovery protocol, so it didn't make sense for the test command to do anything if no test_suite was supplied.
At this point, it may make sense for setuptools to run unittest with its default autodiscovery protocol if no overrides are supplied.
Originally reported by: thomas-guettler (Bitbucket: thomas-guettler, GitHub: Unknown)
the pypa sampleproject contains a test, but if you run
setup.py testit does not get executed.
I opened an issue for the sampleproject, but I was told that this is an issue of setuptools.
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 testand setuptools doesn't find any test?
The text was updated successfully, but these errors were encountered: