pytest-plugins icon indicating copy to clipboard operation
pytest-plugins copied to clipboard

--profile-svg doesn't output an error if graphviz is not installed

Open twmr opened this issue 3 years ago • 2 comments

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.

twmr avatar Jan 19 '23 15:01 twmr

+1, installed graphviz and still no SVG is generated despite seeing: SVG profile in /home/..../project/prof/combined.svg.

jackstephenson96 avatar Apr 20 '23 19:04 jackstephenson96

Here, combinved.svg was created after installing graphviz.

mikegerber avatar Dec 08 '23 15:12 mikegerber