Running the tests¶
The tests are written assuming they will be run with pytest using the Astropy custom test runner. To set up a Conda environment to run the full set of tests, install macro_lightning
or see the setup.cfg file for dependencies. Once the dependencies are installed, you can run the tests two ways:
By importing
macro_lightning
:import macro_lightning macro_lightning.test()
By cloning the
macro_lightning
repository and running:tox -e test
Reference/API¶
The test functions.
macro_lightning.tests.test_parameters Module¶
Test parameters
.
Functions¶
Test |
|
Test |
macro_lightning.tests.test_plot Module¶
Test plot
.
Functions¶
Test |
|
Test |
|
Test |
|
Test |
|
Test |
|
Test |
macro_lightning.tests.test_utils Module¶
Test utils
.
Functions¶
Test |
|
Test |
|
Test |
|
Test |