pyvista / pytest-pyvista

Plugin to test PyVista plot outputs
https://pytest.pyvista.org
MIT License
13 stars 5 forks source link

Reset cache only if error #82

Closed germa89 closed 1 year ago

germa89 commented 1 year ago

As the title.

It resets the cache if the image comparison fails. It does not raise an error.

Working on the tests...

Close #83

codecov-commenter commented 1 year ago

Codecov Report

Merging #82 (b69a3aa) into main (42f771b) will increase coverage by 1.61%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   92.13%   93.75%   +1.61%     
==========================================
  Files           2        2              
  Lines          89       96       +7     
==========================================
+ Hits           82       90       +8     
+ Misses          7        6       -1     
Files Coverage Δ
pytest_pyvista/pytest_pyvista.py 93.61% <100.00%> (+1.66%) :arrow_up: