GitHub - astropy/pytest-astropy: Metapackage for all the testing machinery used by the Astropy Project (original) (raw)

pytest-astropy

Zenodo DOI

This is a meta-package that pulls in the dependencies that are used byastropy and some affiliated packages for testing. It can also be used for testing packages that are not affiliated with the Astropy project.

This package also provides pytest markers for cpu and memory intensive tests (pytest.mark.slow and pytest.mark.hugemem). Tests marked with those markers are not run by default, can be run with the other tests with--run-slow and --run-hugemem, and can be run separately with -m slowand -m hugemem.

The package also provides the short option -R for --remote-data.

Dependencies

The following dependencies are installed by this package:

Installation

The pytest-astropy plugin can be installed using pip:

$ pip install pytest-astropy

It is also possible to install the latest development version from the source repository:

$ git clone https://github.com/astropy/pytest-astropy $ cd pytest-astropy $ python ./setup.py install

In either case, the plugin will automatically be registered for use withpytest.

Development Status

Questions, bug reports, and feature requests can be submitted on github.

License

This package is licensed under a 3-clause BSD style license - see theLICENSE.rst file.