Tests#

During the development of the package choreo, a large battery of parametrized tests is ran at frequent intervals to ensure the codebase is in working conditions. Running the tests on your local machine is a great way to detect broken or missing features in your local install.

To run tests locally on your machine, first checkout this reposity and install dependencies using pip:

git clone git@github.com:gabrielfougeron/choreo.git
cd choreo
pip install .[test]

Then, run tests using pytest:

pytest

Description of tests#

test_config

Configuration module for tests

test_scipy_plus_linalg

Docstring for tests_scipy

test_integration_tables

Tests related to the construction of integration tables.

test_ODE

Test the properties of ODE solvers

test_ActionSym

Tests properties of choreo.ActionSym.

test_NBodySyst

Tests properties of choreo.NBodySyst

Tests results on Github Actions#

As part of the Continuous Integration workflow of choreo, tests are regularly ran on several Python versions and on platforms provided by GitHub Actions. The corresponding test results are listed here.

No needs passed the filters