This document provides instructions on how to run tests for scikit-covtest.
Ensure you have the development dependencies installed. You can install them using pip:
pip install -r requirements.txt
pip install pytestWe use pytest for testing. To run all tests, simply execute:
pytestTo run tests for a specific module, pass the file path to pytest:
pytest tests/test_methods_identity.pyTo run a specific test case:
pytest tests/test_methods_identity.py::test_fisher_identity_outputThe tests are located in the tests/ directory:
test_methods_identity.py: Tests for one-sample identity tests.test_methods_spherical.py: Tests for one-sample sphericity tests.test_methods_two_sample.py: Tests for two-sample equality tests.test_methods_proportionality.py: Tests for multi-sample proportionality tests.test_generate_data.py: Tests for data generation utilities.
Tests are automatically run on GitHub Actions for every push and pull request.