[735bb5]: / test / README.md

Download this file

25 lines (15 with data), 786 Bytes

Test

This folder holds tests for the code in the src/features/ directory, which implements the features used for Random Forest and BiLSTM methods. It also includes tests for the code in the src/models/ directory, which contains the data models used for preprocessing and feature computation. The tests were written using PyTest.

Execute tests

To run all the tests, execute the following command from the parent directory:

python -m pytest test/

To run a specific test or subgroup of tests, specify the path. For example, to run only the tests of the features code, execute:

python -m pytest test/features/

And to run only the tests of the entity model:

python -m pytest test/models/test_entity.py