- (ref) Name all testing files with
test_*.pyor_test.py.
- Name all "be tested" functions with
def test_*.
rf: list files having bugs.
Note that,
@pytest.mark.parametrize must be placed right before the function who uses it. Otherwise, there is an error fixture not found.Run tests who have a specific marker. ref
- pytest official docs.