pytest-rst


Namepytest-rst JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/mosquito/pytest-rst
SummaryTest code from RST documents with pytest
upload_time2023-01-26 15:53:30
maintainer
docs_urlNone
authorDmitry Orlov
requires_python>=3.7,<4.0
licenseMIT
keywords pytest rst restructuredtext documentation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/mosquito/pytest-rst/workflows/tests/badge.svg
   :target: https://github.com/mosquito/pytest-rst/actions?query=workflow%3Atests
   :alt: Actions

.. image:: https://img.shields.io/pypi/v/pytest-rst.svg
   :target: https://pypi.python.org/pypi/pytest-rst/
   :alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/pytest-rst.svg
   :target: https://pypi.python.org/pypi/pytest-rst/

.. image:: https://img.shields.io/pypi/pyversions/pytest-rst.svg
   :target: https://pypi.python.org/pypi/pytest-rst/

.. image:: https://img.shields.io/pypi/l/pytest-rst.svg
   :target: https://pypi.python.org/pypi/pytest-rst/


pytest-rst run python tests in ReStructuredText
===============================================

Code block must have ``:name:`` attribute starts with ``test_``.

Example
-------

This block will running as a pytest test-case:

.. code-block:: rst

    .. code-block:: python
        :name: test_first

        assert True


.. code-block:: python
    :name: test_first

    assert True


This block just not running:

.. code-block:: rst

    .. code-block:: python

        # not a test
        assert False

.. code-block:: python

    # not a test
    assert False


Versioning
----------

This software follows `Semantic Versioning`_


.. _Semantic Versioning: http://semver.org/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mosquito/pytest-rst",
    "name": "pytest-rst",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "pytest,rst,ReStructuredText,documentation",
    "author": "Dmitry Orlov",
    "author_email": "me@mosquito.su",
    "download_url": "https://files.pythonhosted.org/packages/73/b4/a1be7aa4c64c62113e844799bff5cde400b3a60fed9a3d07f16d5bf4914c/pytest_rst-0.1.5.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/mosquito/pytest-rst/workflows/tests/badge.svg\n   :target: https://github.com/mosquito/pytest-rst/actions?query=workflow%3Atests\n   :alt: Actions\n\n.. image:: https://img.shields.io/pypi/v/pytest-rst.svg\n   :target: https://pypi.python.org/pypi/pytest-rst/\n   :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/wheel/pytest-rst.svg\n   :target: https://pypi.python.org/pypi/pytest-rst/\n\n.. image:: https://img.shields.io/pypi/pyversions/pytest-rst.svg\n   :target: https://pypi.python.org/pypi/pytest-rst/\n\n.. image:: https://img.shields.io/pypi/l/pytest-rst.svg\n   :target: https://pypi.python.org/pypi/pytest-rst/\n\n\npytest-rst run python tests in ReStructuredText\n===============================================\n\nCode block must have ``:name:`` attribute starts with ``test_``.\n\nExample\n-------\n\nThis block will running as a pytest test-case:\n\n.. code-block:: rst\n\n    .. code-block:: python\n        :name: test_first\n\n        assert True\n\n\n.. code-block:: python\n    :name: test_first\n\n    assert True\n\n\nThis block just not running:\n\n.. code-block:: rst\n\n    .. code-block:: python\n\n        # not a test\n        assert False\n\n.. code-block:: python\n\n    # not a test\n    assert False\n\n\nVersioning\n----------\n\nThis software follows `Semantic Versioning`_\n\n\n.. _Semantic Versioning: http://semver.org/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Test code from RST documents with pytest",
    "version": "0.1.5",
    "split_keywords": [
        "pytest",
        "rst",
        "restructuredtext",
        "documentation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "04fb4cceef7c9649f63f04bb2b213a9daf2d82d254edf40316f66083fc04b8e9",
                "md5": "14fe5a41868d0d19cbf6ae3e44987d44",
                "sha256": "5a638ac231ec3f59e45b16fd568e8d2c7b0a993fade4a31941913f451be84724"
            },
            "downloads": -1,
            "filename": "pytest_rst-0.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "14fe5a41868d0d19cbf6ae3e44987d44",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 4455,
            "upload_time": "2023-01-26T15:53:28",
            "upload_time_iso_8601": "2023-01-26T15:53:28.833347Z",
            "url": "https://files.pythonhosted.org/packages/04/fb/4cceef7c9649f63f04bb2b213a9daf2d82d254edf40316f66083fc04b8e9/pytest_rst-0.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "73b4a1be7aa4c64c62113e844799bff5cde400b3a60fed9a3d07f16d5bf4914c",
                "md5": "5340bd2872de82e4f5043865f3650589",
                "sha256": "63315654b4cefd378b39b5210efdcd8a9361a2d9e466a4a26e6e9ac33e524983"
            },
            "downloads": -1,
            "filename": "pytest_rst-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "5340bd2872de82e4f5043865f3650589",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 3580,
            "upload_time": "2023-01-26T15:53:30",
            "upload_time_iso_8601": "2023-01-26T15:53:30.650605Z",
            "url": "https://files.pythonhosted.org/packages/73/b4/a1be7aa4c64c62113e844799bff5cde400b3a60fed9a3d07f16d5bf4914c/pytest_rst-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-26 15:53:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "mosquito",
    "github_project": "pytest-rst",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pytest-rst"
}
        
Elapsed time: 0.04827s