This project uses pytest for testing.
- To run the tests, simply run the following command in the root directory of the project:
pytest- To run a specific test file, you can run the following command:
pytest tests/test_file.pyDon't forget to replace test_file.py with the name of the test file you want to run.
- To run a specific test function, you can run the following command:
pytest tests/test_file.py::test_functionSome of the tests requires some examples files to be present in the tests/examples directory. If you want to run all the tests, you can download the examples from this github repo and place them in the tests/examples directory.