Skip to content

Commit

Permalink
Update README with how to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhurba01 committed Oct 11, 2024
1 parent a22e027 commit f9f67c8
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions cuda_bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,35 @@ Latest dependencies can be found in [requirements.txt](https://github.com/NVIDIA

### Unit-tests

You can run the included tests with:

To run unit-tests against local builds:
```
python -m pytest tests/
```
To run unit-tests against installed builds:
```
python -m pytest
pytest tests/
```

### Benchmark

You can run benchmark only tests with:

To run unit-tests against local builds:
```
python -m pytest --benchmark-only benchmark/
```
python -m pytest --benchmark-only
To run unit-tests against installed builds:
```
pytest --benchmark-only benchmark/
```

### Samples

You can run the included tests with:

To run unit-tests against local builds:
```
python -m pytest benchmark/
```
To run unit-tests against installed builds:
```
python -m pytest examples
pytest benchmark/
```

## Examples
Expand Down

0 comments on commit f9f67c8

Please sign in to comment.