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, see the environment-dev.yml environment file. Once the dependencies are installed, you can run the tests two ways:
By importing
gala
:import gala gala.test()
By cloning the
gala
repository and running:python setup.py test