Should tests live in directory test or tests? The guide seems inconsistent to me, but I'm new to contemporary Python packaging, so I may have missed something.
It is test in guides/using-manifest-in.rst:
The following files are included in a source distribution by default:
- ...
- all files matching the pattern
test/test*.py
and tests in tutorials/packaging-projects.rst:
tests/ is a placeholder for test files. Leave it empty for now.
Is tests always the expected name for the directory containing tests? Could/should the guide standardize on that?
Should tests live in directory
testortests? The guide seems inconsistent to me, but I'm new to contemporary Python packaging, so I may have missed something.It is
testin guides/using-manifest-in.rst:and
testsin tutorials/packaging-projects.rst:Is
testsalways the expected name for the directory containing tests? Could/should the guide standardize on that?