pytest-astropy


Namepytest-astropy JSON
Version 0.11.0 PyPI version JSON
download
home_pagehttps://github.com/astropy/pytest-astropy
SummaryMeta-package containing dependencies for testing
upload_time2023-09-26 21:37:07
maintainer
docs_urlNone
authorThe Astropy Developers
requires_python>=3.7
licenseBSD
keywords pytest remotedata doctestplus hypothesis property-based testing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==============
pytest-astropy
==============

.. image:: https://zenodo.org/badge/104255122.svg
   :target: https://zenodo.org/badge/latestdoi/104255122
   :alt: Zenodo DOI

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.

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 slow``
and ``-m hugemem``.

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

.. _astropy: https://docs.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-astropy-header`_, a ``pytest`` plugin used for custom test header.
* `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-arraydiff`_, a ``pytest`` plugin that enables the generation and
  comparison of data arrays produced during unit tests.
* `pytest-filter-subpackage`_, a ``pytest`` plugin that adds a ``-P`` option to
  pytest to filter by sub-package.
* `pytest-mock`_,  a thin-wrapper around the mock package for easier use
  with ``pytest``.
* `pytest-cov`_, a ``pytest`` plugin to measure test coverage.
* `hypothesis`_, a Python library for property based testing.

.. _pytest: https://doc.pytest.org
.. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header
.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata
.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus
.. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff
.. _pytest-filter-subpackage: https://github.com/astropy/pytest-filter-subpackage
.. _pytest-mock: https://github.com/pytest-dev/pytest-mock
.. _pytest-cov: https://github.com/pytest-dev/pytest-cov
.. _hypothesis: https://hypothesis.readthedocs.io

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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/astropy/pytest-astropy",
    "name": "pytest-astropy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "pytest,remotedata,doctestplus,hypothesis,property-based testing",
    "author": "The Astropy Developers",
    "author_email": "astropy.team@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e1/a8/dbe3cead1ebc25b0164af7cfde4b3d1693f6ab05de156667c836732d1f4c/pytest-astropy-0.11.0.tar.gz",
    "platform": null,
    "description": "==============\npytest-astropy\n==============\n\n.. image:: https://zenodo.org/badge/104255122.svg\n   :target: https://zenodo.org/badge/latestdoi/104255122\n   :alt: Zenodo DOI\n\nThis is a meta-package that pulls in the dependencies that are used by\n`astropy`_ and some `affiliated packages`_ for testing. It can also be used for\ntesting packages that are not affiliated with the Astropy project.\n\nThis package also provides pytest markers for cpu and memory intensive tests\n(``pytest.mark.slow`` and ``pytest.mark.hugemem``). Tests marked with those\nmarkers are not run by default, can be run with the other tests with\n``--run-slow`` and ``--run-hugemem``, and can be run separately with ``-m slow``\nand ``-m hugemem``.\n\nThe package also provides the short option ``-R`` for ``--remote-data``.\n\n.. _astropy: https://docs.astropy.org/en/latest/\n.. _affiliated packages: https://astropy.org/affiliated\n\nDependencies\n------------\n\nThe following dependencies are installed by this package:\n\n* The `pytest`_ testing framework for Python.\n* `pytest-astropy-header`_, a ``pytest`` plugin used for custom test header.\n* `pytest-remotedata`_, a ``pytest`` plugin used for controlling access to data\n  files hosted online.\n* `pytest-doctestplus`_, a ``pytest`` plugin that provides advanced features\n  for testing example code in documentation.\n* `pytest-arraydiff`_, a ``pytest`` plugin that enables the generation and\n  comparison of data arrays produced during unit tests.\n* `pytest-filter-subpackage`_, a ``pytest`` plugin that adds a ``-P`` option to\n  pytest to filter by sub-package.\n* `pytest-mock`_,  a thin-wrapper around the mock package for easier use\n  with ``pytest``.\n* `pytest-cov`_, a ``pytest`` plugin to measure test coverage.\n* `hypothesis`_, a Python library for property based testing.\n\n.. _pytest: https://doc.pytest.org\n.. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header\n.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata\n.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus\n.. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff\n.. _pytest-filter-subpackage: https://github.com/astropy/pytest-filter-subpackage\n.. _pytest-mock: https://github.com/pytest-dev/pytest-mock\n.. _pytest-cov: https://github.com/pytest-dev/pytest-cov\n.. _hypothesis: https://hypothesis.readthedocs.io\n\nInstallation\n------------\n\nThe ``pytest-astropy`` plugin can be installed using ``pip``::\n\n    $ pip install pytest-astropy\n\nIt is also possible to install the latest development version from the source\nrepository::\n\n    $ git clone https://github.com/astropy/pytest-astropy\n    $ cd pytest-astropy\n    $ python ./setup.py install\n\nIn either case, the plugin will automatically be registered for use with\n``pytest``.\n\nDevelopment Status\n------------------\n\nQuestions, bug reports, and feature requests can be submitted on `github`_.\n\n.. _github: https://github.com/astropy/pytest-astropy\n\nLicense\n-------\nThis package is licensed under a 3-clause BSD style license - see the\n``LICENSE.rst`` file.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Meta-package containing dependencies for testing",
    "version": "0.11.0",
    "project_urls": {
        "Homepage": "https://github.com/astropy/pytest-astropy"
    },
    "split_keywords": [
        "pytest",
        "remotedata",
        "doctestplus",
        "hypothesis",
        "property-based testing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cf05d6e2068e99c4ca69986844d68c82c4c08379296430e355a3756c51a55f73",
                "md5": "fd238e409e2d171f54175eb7941ceaf9",
                "sha256": "5b9404cfa85bd815af86da78bd7d50d451419021bff27b127418886f85ae9ffa"
            },
            "downloads": -1,
            "filename": "pytest_astropy-0.11.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd238e409e2d171f54175eb7941ceaf9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 5171,
            "upload_time": "2023-09-26T21:37:06",
            "upload_time_iso_8601": "2023-09-26T21:37:06.114627Z",
            "url": "https://files.pythonhosted.org/packages/cf/05/d6e2068e99c4ca69986844d68c82c4c08379296430e355a3756c51a55f73/pytest_astropy-0.11.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e1a8dbe3cead1ebc25b0164af7cfde4b3d1693f6ab05de156667c836732d1f4c",
                "md5": "51cfee1d56dbe731f1d65b752d2d567f",
                "sha256": "4eaeaa99ed91163ed8f9aac132c70a81f25bc4c12f3cd54dba329fc26c6739b5"
            },
            "downloads": -1,
            "filename": "pytest-astropy-0.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "51cfee1d56dbe731f1d65b752d2d567f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 6336,
            "upload_time": "2023-09-26T21:37:07",
            "upload_time_iso_8601": "2023-09-26T21:37:07.315413Z",
            "url": "https://files.pythonhosted.org/packages/e1/a8/dbe3cead1ebc25b0164af7cfde4b3d1693f6ab05de156667c836732d1f4c/pytest-astropy-0.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-26 21:37:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "astropy",
    "github_project": "pytest-astropy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pytest-astropy"
}
        
Elapsed time: 0.18732s