File size: 577 Bytes
3133fdb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
## Unit Tests
Before running the tests, please ensure that you installed the necessary additional test dependencies.
If not installed, check the [install-README](https://github.com/facebookresearch/pytorchvideo/blob/main/INSTALL.md) on how to do it.
Use the the following command to run the tests:
```
# From root of the project
python -m unittest discover -v -s ./tests
```
To generate the coverage reports, please run the following command:
```
#Install Coverage using
pip install coverage
# From root of the project
coverage run -m unittest discover -v -s tests
```
|