Message296740
1. execute "python -m unittest"
2. Result: 0 test found
3. Change file name from "aaaTest.py" to "test_aaa.py"
4. execute "python -m unittest"
3. Result: Ran 1 tests in 000.0s
Module file MUST be named using the prefiux "test_".
The page "https://docs.python.org/3/library/unittest.html"
does not mention this MANDATORY rule.
I went to this conclusion because I readed the documentation without find any point about the naming convention of modules and than looking for this specific rule searching "test_" and "test_ " without any result.
Regards,
Alessandro |
|
Date |
User |
Action |
Args |
2017-06-23 21:57:36 | alex.75 | set | recipients:
+ alex.75, docs@python |
2017-06-23 21:57:36 | alex.75 | set | messageid: <1498255056.87.0.611217256865.issue30743@psf.upfronthosting.co.za> |
2017-06-23 21:57:36 | alex.75 | link | issue30743 messages |
2017-06-23 21:57:36 | alex.75 | create | |
|