pytest-dev / pytest-dev/pytest-html
Environment/metadata section no longer visible after pytest-metadata update to 3.0.0
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
pytest-metadata was bumped to 3.0.0:
https://pypi.org/project/pytest-metadata/#history
This changed the API for accessing and modifying the metadata object:
https://github.com/pytest-dev/pytest-metadata/compare/v2.0.4...master -> README.rst
With those changes, Environment section is no longer appearing in the htm report (tested on pytest-html 3.1.1 with pytest-metadata 3.0.0)
Also the documentation should be updated to reflect on the changes in pytest-metadata, as this:
is no longer possible
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the pytest-metadata 2.0.4-to-3.0.0 API comparison linked in the issue, then trace how pytest-html builds its Environment section. Update the integration and related documentation for the new metadata API, and verify that generated HTML reports display the Environment section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100