Testing

SkillDev tools

Apply when writing or running tests, or updating insta snapshots, in this repo.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Testing skill

What this skill tells your AI

The instructions your AI receives, as published by varfish-org/mehari in .claude/skills/testing/SKILL.md and read by ahel’s review.

  • Run: cargo test (CI default) or cargo test --all-features. Prefer red-green (see karpathy-principle).
  • insta snapshots (YAML): after intended output changes, review with cargo insta review (or cargo insta accept). Never blindly accept.
  • Selective Git LFS: only large fixtures/specific snapshots are LFS-tracked (tests/data/**, *.bin, and named snaps in .gitattributes); most .snap files are plain git. Have git lfs installed so fixtures resolve.
  • rstest for parameterized tests/fixtures; tracing-test to assert on logs; temp_testdir/tempfile for scratch dirs; pretty_assertions for diffs.
  • The full UTA-backed suite needs a Postgres service (see CI); most tests don't.

Signals

GitHub stars
33
Forks
2
Last commit
Sep 2026
Hacker News mentions
20
Advanced
Catalog kind
skill
Gateway key
testing-varfish-org
Source
github.com/varfish-org/mehari