phmdoctest 1.4.0
- phmdoctest 1.4.0
- Introduction
- Installation
- Sample usage
- Sample Usage with HTML comment directives
- CI usage
- report option
- Identifying blocks
- Directives
- skip
- label on code and sessions
- label on any fenced code block
- pytest skip
- pytest skipif
- setup
- teardown
- share-names
- clear-names
- pytest mark decorator
- label skip and mark example
- setup and teardown example
- share-names clear-names example
- Configuration
- Inline annotations
- skipping blocks with skip option
- skip option
- short form of skip option
- fail-nocode option
- setup option
- teardown option
- Setup example
- Setup for sessions
- Execution context
- Send outfile to stdout
- Usage
- Run as a Python module
- Python API
- pytest fixtures
- Simulate command line
- Hints
- Directive hints
- Related projects
- Using a configuration file
- Recent changes
- Development tools API version 1.4.0
- Generate a pytest file.
- Generate pytest files using a configuration file.
- Test with Pytest fixtures.
- Simulate the command line.
- Read contents of Markdown fenced code blocks.
- Get elements from test suite JUnit XML output.
- Check a Markdown file for Python examples.
- Prepare directory for generated test files.
- About the documentation
- Contributing
- List of examples
- Snippet of use in GitHub Actions
- This is Markdown file example1.md
- This is Markdown file example2.md
- doc/test_example2.py
- This is Markdown file directive1.md
- doc/directive1.md
- doc/directive1_report.txt
- doc/test_directive1.py
- This is Markdown file directive2.md
- doc/directive2.md
- doc/directive2_report.txt
- doc/test_directive2.py
- This is Markdown file directive3.md
- doc/directive3.md
- doc/directive3_report.txt
- doc/test_directive3.py
- This is file doc/my_markdown_file.md
- Examples of code and session blocks
- This is Markdown file setup.md
- doc/test_setup.py
- This is Markdown file setup_doctest.md
- doc/test_setup_doctest.py
- This is Markdown file mark_example.md
- doc/mark_example.md
- doc/test_mark_example.py
- This is Markdown file inline_example.md
- doc/test_inline_example.py
- tests/project_test.py