matplotlib / matplotlib/pytest-mpl
Allow HTML summary to only show failed tests.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 272
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
The docs state
Summary reports can also be produced when generating baseline images and hash libraries. The summaries will be written to the results directory. When generating a HTML summary, the --mpl-results-always option is automatically applied. Therefore images for passing tests will also be shown.
However, I believe it would be beneficial to extend the option to only show failed tests. Is this already possible or could this be added to the pytest-mpl?
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 with the HTML summary behavior described in the configuration documentation and the --mpl-results-always option. Trace how the results directory and generated summaries decide which test images to show. Done means an HTML summary can be configured to show only failed tests while retaining the existing behavior by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100