Skip to content

Visual Testing Documentation Mismatch #7807

Open
@pnngocdoan

Description

@pnngocdoan

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)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Ready for Work

Relationships

None yet

Development

No branches or pull requests

Issue actions