.. _astronat-test:
=================
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 ``astronat`` or see the setup.cfg file for dependencies. Once the dependencies are installed, you can run the tests two ways:
1. By importing ``astronat``::
import astronat
astronat.test()
2. By cloning the ``astronat`` repository and running::
tox -e test