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.6.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest-rst-0.0.6.tar.gz.
File metadata
- Download URL: pytest-rst-0.0.6.tar.gz
- Upload date:
- Size: 4.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd1b09d0a1fb209dd6e528b7c597c45dcbbd9e757f70d7bfe58e7ab543b977d5
|
|
| MD5 |
9daf41d6ffcb7a151603efd9c19db668
|
|
| BLAKE2b-256 |
049824918101fe4a0db5209e07ed38a23251075c9f076c8cad57eb0ae83441e9
|
File details
Details for the file pytest_rst-0.0.6-py3-none-any.whl.
File metadata
- Download URL: pytest_rst-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.2 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e348e983ba4f153d365a4eb317964954807dfe49365d644d0f3ae40c122e36a
|
|
| MD5 |
d997520ce992a02802650516dc67754c
|
|
| BLAKE2b-256 |
15e9adfaa9de96e521c6a6793b18743c2b5792f5879add89e2c99b09d2536f64
|