man-group / man-group/pytest-plugins
--profile-svg doesn't output an error if graphviz is not installed
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 597
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
When graphviz is not installed and pytest is called with --profile-svg, the following line is output at the end of the pytest logs:
SVG profile in /home/..../myproj/prof/combined.svg.
But this file doesn't exist. After installing graphviz the svg exists. Please output an error when the dot command was not found.
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 tracing the pytest --profile-svg option and the point where the dot command is invoked. Reproduce the case without Graphviz installed, then verify that the missing command produces an error instead of reporting a generated SVG. No specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100