home/categories/education/gridaco-grida-agents-skills-cg-reftest-skill-md
educationdocumentation

cg-reftest

Guides design and review of computer-graphics rendering tests for the cg crate. Covers the distinction between reftests (independent oracle), golden/snapshot regression tests (previously accepted output), and observation-based probe tests (pixel/color assertions without vision). Use when adding, reviewing, or debugging visual comparison tests, pixel diffs, golden image generators, SVG reftest suites, or designing fixtures that can be verified programmatically by probing pixel values. Relevant paths: crates/grida-canvas/tests/, crates/grida-canvas/goldens/, crates/grida-canvas/examples/golden_*, crates/grida-dev/src/reftest/, fixtures/test-svg/, docs/wg/feat-svg/testing.md.

gridaco
maintainer
gridaco
Mis à jour 3/23/2026
Étoiles
2443
Forks
131
quick start

Installation and usage

Guides design and review of computer-graphics rendering tests for the cg crate. Covers the distinction between reftests (independent oracle), golden/snapshot regression tests (previously accepted output), and observation-based probe tests (pixel/color assertions without vision). Use when adding, reviewing, or debugging visual comparison tests, pixel diffs, golden image generators, SVG reftest suites, or designing fixtures that can be verified programmatically by probing pixel values. Relevant paths: crates/grida-canvas/tests/, crates/grida-canvas/goldens/, crates/grida-canvas/examples/golden_*, crates/grida-dev/src/reftest/, fixtures/test-svg/, docs/wg/feat-svg/testing.md.

Installation
$ install --globalskills.sh
Utilisation

Après l'installation, vous pouvez utiliser ce skill en exécutant la commande suivante dans votre terminal :

skills use cg-reftest