Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rework testsuite #31

Open
9 tasks
Vipitis opened this issue Jun 28, 2024 · 0 comments
Open
9 tasks

rework testsuite #31

Vipitis opened this issue Jun 28, 2024 · 0 comments
Labels
task Issue containing several tasks

Comments

@Vipitis
Copy link
Collaborator

Vipitis commented Jun 28, 2024

We mainly took the wgpu-py testsuite as is and kept the relevant tests and examples. Some new issues came up related to caching (unexpected objects from _default_device) and while digging around I found a bunch of redundant parts to the current pytest setup.
This will might be a longer process since the documentation seems kinda thin. I also open this issue for discussion on specifics.

some of the tasks I see right now

  • investigate and fix caching issue
  • remove unused code
  • move conftest.py to pyproject.toml
  • test screenshots against thumbnails (https://www.shadertoy.com/media/shaders/shaderID.jpg)
  • test examples giving in README
  • add an API key secret to the repository so CI covers the API tests.
  • offscreen doesn't seem to catch all errors with just shader.show() - needs investigation since the whole test suite is offscreen
  • pin specific dependency versions for CI/dev
  • bulk test for compatibility, like Most common errors with the Shadertoy utility #15 but maybe using https://github.com/Vipitis/shadertoys-dataset
@Vipitis Vipitis added the task Issue containing several tasks label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Issue containing several tasks
Projects
None yet
Development

No branches or pull requests

1 participant