Tests#

During the development of the package choreo, a large battery of parametrized tests is run 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 repository 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

Tests for a few numerical methods that could be a part of scipy.

test_EFT

Tests the properties of Error-Free Transformations for floating point.

test_integration_tables

Tests related to the construction of integration tables.

test_quad_ODE

Tests the properties of quadratures and 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 run on several Python versions and on platforms provided by GitHub Actions. The corresponding test results are listed here.

No needs passed the filters