Skip to content

Commit

Permalink
finishing test part in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2208 committed Feb 6, 2025
1 parent 60aa32d commit e42e24e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,17 @@ Integration tests are executed using the `pytest` package. These tests utilize `

2. **Model Tests**: Each model (DT) is tested on the HSN dataset using a `fast_dev_run`. The models tested are: AST, ConvNext, EAT, EfficientNet, Wav2Vec2.

### How to Use the Tests
#### Black Linting
Simply push your code to the GitHub repository, and Black linting will run automatically.

#### Integration Tests
To execute all tests, run pytest in the root directory of your project.

If you wish to test only the models or datasets, use the following commands:

To test the models: `pytest tests/test_models.py`
To test the datasets: `pytest tests/test_datasets.py`

## Q&A

Expand Down

0 comments on commit e42e24e

Please sign in to comment.