File tree Expand file tree Collapse file tree 3 files changed +339
-50
lines changed Expand file tree Collapse file tree 3 files changed +339
-50
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,20 @@ unittest-parallel -t . -s tests --coverage-branch
3030- [ Source code on GitHub] ( https://github.com/craigahobbs/unittest-parallel )
3131
3232
33+ ## How it works
34+
35+ unittest-parallel uses Python's built-in unit test discovery to find all test cases in your project.
36+ It then runs all test cases in a Python multi-processing pool of the requested size.
37+
38+ ### Class and Module Fixtures
39+
40+ Python's unittest framework supports
41+ [ class and module fixtures.] ( https://docs.python.org/3/library/unittest.html#class-and-module-fixtures )
42+ Use the "--class-fixtures" option to execute class fixtures correctly. Use the "--module-fixtures"
43+ option to execute module fixtures correctly. Note that these options reduce the amount of
44+ parallelism.
45+
46+
3347## Example output
3448
3549```
@@ -112,12 +126,6 @@ coverage options:
112126```
113127
114128
115- ## How it works
116-
117- unittest-parallel uses Python's built-in unit test discovery to find all of the TestCase classes in
118- your project. It then runs all tests in a Python multi-processing pool of the requested size.
119-
120-
121129## Development
122130
123131This project is developed using [ Python Build] ( https://github.com/craigahobbs/python-build#readme ) .
You can’t perform that action at this time.
0 commit comments