************* Running Tests ************* Carsus's tests are based on the `AstroPy Package Template `_ and `pytest `_. Then, running simple tests on your machine is straightforward: .. code :: $ pytest carsus ============== Optional Flags ============== A set of flags can be appended to the above command to run different kinds of tests: - `--carsus-regression-data=/path/to/carsus-regression-data` Run tests marked with the ``@with_regression_data`` decorator. Requires the `tardis-sn/carsus-regression-data `_ repository. - `--cov=carsus --cov-report=xml --cov-report=html` Get code coverage results using the `pytest-cov `_ plugin.