This is a meta-package that pulls in the dependencies that are used by astropy and some affiliated packages for testing. It can also be used for testing packages that are not affiliated with the Astropy project.
The following dependencies are installed by this package:
- The pytest testing framework for Python.
- pytest-astropy-header, a
pytestplugin used for custom test header.
- pytest-remotedata, a
pytestplugin used for controlling access to data files hosted online.
- pytest-doctestplus, a
pytestplugin that provides advanced features for testing example code in documentation.
- pytest-openfiles, a
pytestplugin for detecting file handles that were inadvertently left open at the end of unit tests.
- pytest-arraydiff, a
pytestplugin that enables the generation and comparison of data arrays produced during unit tests.
- pytest-filter-subpackage, a
pytestplugin that adds a
-Poption to pytest to filter by sub-package.
- pytest-mock, a thin-wrapper around the mock package for easier use
- pytest-cov, a
pytestplugin to measure test coverage.
- hypothesis, a Python library for property based testing.
pytest-astropy plugin can be installed using
$ 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 with
Questions, bug reports, and feature requests can be submitted on github.
This package is licensed under a 3-clause BSD style license - see the