Skip to content

Commit f7e4b2b

Browse files
committed
Update README with detailed pytest usage
Expanded the testing section to include instructions for running all tests, specific tests, and non-expensive tests using pytest. This provides clearer guidance for contributors on how to execute different test scenarios.
1 parent 935473e commit f7e4b2b

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,24 @@ export DVUPLOADER_TESTING=true
204204

205205
**3. Run the test(s) with pytest**
206206

207+
Run all tests:
208+
207209
```bash
208210
poetry run pytest
209211
```
210212

213+
Run a specific test:
214+
215+
```bash
216+
poetry run pytest -k test_native_upload_with_large_file
217+
```
218+
219+
Run all non-expensive tests:
220+
221+
```bash
222+
poetry run pytest -m "not expensive"
223+
```
224+
211225
### Linting
212226

213227
This repository uses `ruff` to lint the code and `codespell` to check for spelling mistakes. You can run the linters with the following command:

0 commit comments

Comments
 (0)