wesl-test
JSON →GPU shader testing library for WGSL and WESL, version 0.6.46. Provides testCompute, testFragment, testFragmentImage, and expectFragmentImage to unit-test compute and fragment shaders directly from Node.js test frameworks like vitest. Supports visual regression testing via image snapshots. Designed to fill the gap in WebGPU testing tooling, akin to Jest snapshot testing for shaders. Ships TypeScript types. Peer dependencies on vitest ^3.2.4 and vitest-image-snapshot ^0.6.37. Active development with monthly releases.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇪🇸 Spain · 🇨🇦 Canada
Resources
packagewesl-test ↗