pyvista / pytest-pyvista

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

Conflicting flags do not raise an error or warning. #36

Open AlejandroFernandezLuces opened 1 year ago

AlejandroFernandezLuces commented 1 year ago

The flags --fail_extra_image_cache and --add_missing_images are incompatible with each other. This is not documented anywhere. We should:

MatthewFlamm commented 1 year ago

I think it would better to have the default to fail on extra images. Then options like add-missing-images and so on would modify this behavior. Is there any scenario we'd want to have a passing test with extra images created without these other flags in use?