Skip to main content
Coveralls Actions Latest Version https://img.shields.io/pypi/wheel/pytest-rst.svg https://img.shields.io/pypi/pyversions/pytest-rst.svg https://img.shields.io/pypi/l/pytest-rst.svg

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:: python
    :name: test_first

    assert True
assert True

This block just not running:

.. code-block:: python

    # not a test
    assert False
# not a test
assert False

Versioning

This software follows Semantic Versioning

Download files

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

Source Distribution

pytest-rst-0.0.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_rst-0.0.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file pytest-rst-0.0.3.tar.gz.

File metadata

  • Download URL: pytest-rst-0.0.3.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pytest-rst-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2833cec46880f78b1b252a48b20e48881db062fabbc177bd71798bf7cf747766
MD5 a986d5c1defd06d534ecee4415e38b0e
BLAKE2b-256 c051b806088e7a88d727c7231932aa7483d92abef777000e88d25311d526ec40

See more details on using hashes here.

File details

Details for the file pytest_rst-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pytest_rst-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pytest_rst-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4dcfa807897b15ad0fbc5ee5057727af42d246e16608783a966c6f58fa5340
MD5 3649289757aa5fbe9299c063a03b6470
BLAKE2b-256 d4bf3feaf3196c0307363db56799e45a9b6315b533938b71bf32a1b7d464738c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page