File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ All of the source code goes into the [src/\<project-name\>](src/squarer) directo
25
25
## Tests (pytest/tox)
26
26
27
27
Testing is done with ` pytest ` and ` tox ` . All tests go into the [ test] ( test/ ) directory. Pytest automatically finds all directories
28
- and modules as well as functions and classes within these starting with ` test ` (automatic test discovery).
28
+ and modules as well as functions and classes within these matching ` test_*.py ` /` *_test.py ` files, ` Test* ` classes, and ` test_* `
29
+ functions and methods (automatic test discovery).
29
30
30
31
The [ conftest.py] ( test/conftest.py ) file is sort of a setup file that can be used to create additional configurations/hooks
31
32
([ small example] ( https://github.com/tbmalt/tbmalt/blob/main/tests/conftest.py ) ) and setup code (fixtures) for all tests.
You can’t perform that action at this time.
0 commit comments