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
30
30
- [ Source code on GitHub] ( https://github.com/craigahobbs/unittest-parallel )
31
31
32
32
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
+
33
47
## Example output
34
48
35
49
```
@@ -112,12 +126,6 @@ coverage options:
112
126
```
113
127
114
128
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
-
121
129
## Development
122
130
123
131
This 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