mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-20 16:35:47 +08:00
13 lines
243 B
Markdown
13 lines
243 B
Markdown
# 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
|
|
``` |