GeezerVison is showing github.com — increasing test coverage · Issue #229 · fastplotlib/fastplotlib
increasing test coverage #229Description
- screenshots from notebooks, probably useful for the users to see how to save snapshots of the canvas anyways
- change ipywidget values, like sliders for image widget, check that it updates the plot data
- selector tools, need to see how to programmatically do pygfx events like mouse events etc.
Activityclewis7 commented on Jun 21, 2023 # we skip the rest of the test if you are not using lavapipe
# images come out subtly differently when using different wgpu adapters
# so for now we only compare screenshots generated with the same adapter (lavapipe)
# a benefit of using pytest.skip is that you are still running
# the first part of the test everywhere else; ensuring that examples
# can at least import, run and render something
if not is_lavapipe:
pytest.skip("screenshot comparisons are only done when using lavapipe")
In regard to screenshot diffs being generated, pygfx just skips if not lavapipe
@kushalkolar we could add to ours as well, not sure if it is a good long term solution clewis7 commented on Jun 26, 2023 @kushalkolar should we add in the above about skipping screenshot comparison of a test if lavapipe is not being used locally to avoid rendering diffs? kushalkolar commented on Jun 26, 2023 No we just need to run tests only on lavapipe, if they're skipped it's not
useful.
…changed the title [-]more test stuff[/-] [+]increasing test coverage[/+] on Nov 28, 2023kushalkolar commented on Jun 4, 2024 all this exists now except emulating mouse events, but we have another issue for that.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|