13 lines
243 B
Markdown
13 lines
243 B
Markdown
1 year ago
|
# Unit testing
|
||
|
- Run all unit testing
|
||
|
```bash
|
||
|
cd tests && pytest -s
|
||
|
```
|
||
|
- Run unit testing under a single folder
|
||
|
```bash
|
||
|
cd tests && pytest -s {dir}
|
||
|
```
|
||
|
- Rerun the test cases that failed in the last run
|
||
|
```bash
|
||
|
cd tests && pytest -s --lf
|
||
|
```
|