Skip to content

Visual Testing Documentation Mismatch #7807

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

Open
1 of 17 tasks
pnngocdoan opened this issue May 13, 2025 · 0 comments · May be fixed by #7827
Open
1 of 17 tasks

Visual Testing Documentation Mismatch #7807

pnngocdoan opened this issue May 13, 2025 · 0 comments · May be fixed by #7827

Comments

@pnngocdoan
Copy link

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

No response

Web browser and version

No response

Operating system

No response

Steps to reproduce this

There's a mismatch in documentation for visual testing. The current visual tests at main branch only have a simple pixel-to-pixel comparison. I checked dev-2.0 and found the advanced algorithms that are introduced here. However, there was no Gruntfile at the dev-2.0 and it used vitest instead, while the documentation suggested using grunt. The vitest was also headless so I can't manually inspect the visual tests (I used npx vitest to open the tests in a browser but couldn't manually inspect each visual test either)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Work
Development

Successfully merging a pull request may close this issue.

2 participants