Skip to main content

Meta-package containing dependencies for testing

Project description

==============
pytest-astropy
==============

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.

.. _astropy: https://astropy.org/en/latest/
.. _affiliated packages: https://astropy.org/affiliated

Dependencies
------------

The following dependencies are installed by this package:
* The `pytest`_ testing framework for Python
* `pytest-remotedata`_, a ``pytest`` plugin used for controlling access to data
files hosted online
* `pytest-doctestplus`_, a ``pytest`` plugin that provides advanced features
for testing example code in documentation
* `pytest-openfiles`_, a ``pytest`` plugin for detecting file handles that were
inadvertently left open at the end of unit tests
* `pytest-mpl`_, a ``pytest`` plugin that facilitates image comparison for
`matplotlib`_ figures
* `pytest-arraydiff`_, a ``pytest`` plugin that enables the generation and
comparison of data arrays produced during unit tests

.. _pytest: https://doc.pytest.org
.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata
.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus
.. _pytest-openfiles: https://github.com/astropy/pytest-openfiles
.. _pytest-mpl: https://github.com/matplotlib/pytest-mpl
.. _matplotlib: https://matplotlib.org
.. _pytest-arraydiff: https://github.com/astrofrog/pytest-arraydiff

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 with
``pytest``.

Development Status
------------------

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

.. _github: https://github.com/astropy/pytest-astropy

License
-------
This package is licensed under a 3-clause BSD style license - see the
``LICENSE.rst`` file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-astropy-0.2.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pytest-astropy-0.2.1.tar.gz.

File metadata

File hashes

Hashes for pytest-astropy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ced990fe65145ba87a9d0ce16b9d0c162f0c339b47c04d51f54aa382acb55425
MD5 5b84af93e0e126d156060eae3f5f922b
BLAKE2b-256 d3255cd3e9d97bc905e4b33097df06b2c62722927f002fd3c156f87fe0ef926d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page