@luma.gl/test-utils
TypeScript icon, indicating that this package has built-in type declarations

9.0.27 • Public • Published

@luma.gl/test-utils

Client-side utility for browser-based WebGL render tests.

This class is intended to be used with BrowserTestDriver from @probe.gl/test-utils. Together they support the following workflow:

  • Launch a Puppeteer instance (headless or non-headless) to run a test application
  • In the test application, create a canvas and WebGLContext.
  • For each test case, render something to the WebGLContext, take a screenshot, and perform pixel-diffing with a pre-defined "golden image". Report the matching result.
  • Proceed to the next test case until done.

See luma.gl website for documentation.

Package Sidebar

Install

npm i @luma.gl/test-utils

Weekly Downloads

838

Version

9.0.27

License

MIT

Unpacked Size

273 kB

Total Files

113

Last publish

Collaborators

  • donmccurdy
  • felixpalmer
  • pessimistress
  • ibgreen
  • dryabinin
  • belom88