What to Name Your Tests?
3.
Test filename
should start with
test_
& use snake
case
test_
math.py
test_
list_util.py or
test_
listutil.py
Note:
if test file
ends
with _test like
math
_test
.py
then
Python's "test discovery" feature (used by Django)
won't run the tests unless you write:
python -m unittest discover
-p "*_test.py"