Library pytest-spec2md is a pytest plugin to create a markdown specification while running pytest.
Project description
pytest-spec2md
This project is an add-on to pytest. It generates a markdown file as specification, while running the tests.
This project is inspired by pytest-spec.
Getting started
Install the module using pip.
pip install pytest-spec2md
Then you can activate the module using --spec Parameter when calling pytest. You find the generated markdown file under documentation/spec.md.
Configuration
You can change the target directory using the parameter spec_target_file.
[pytest]
spec_target_file = path/to/target/doc/file
Examples
Examples for the usage can be found here: UseCases on GitHub
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-spec2md-0.1.3.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for pytest_spec2md-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d84f14a6709c2468b1a63fbdd3950660ed030b5a26641efd7ae1bdbf1eeac3f5 |
|
MD5 | b613760680e2dc85f29aba04e006eda6 |
|
BLAKE2b-256 | 661ab94d7a4b61e65eb631866caba93d988d888210ffe12281c2695d7347fcff |