Skip to content

Releases: BenMalaga/failfirst

Release list

failfirst v0.1.0

Choose a tag to compare

@BenMalaga BenMalaga released this 11 Jun 05:47

First release.

failfirst is a CI gate that proves new tests actually test the change: it runs the test files your branch added or modified against the merge-base (the old code) in a temporary git worktree. Any new test that passes there is flagged VACUOUS and the gate exits 1.

Highlights:

  • Zero-dependency Node ESM CLI, Node >= 18
  • Runners: node:test, vitest, jest (auto-detected, or --runner)
  • Per-test verdicts: GOOD, VACUOUS, BROKEN, PRE-EXISTING, SKIPPED
  • Tests that already existed in modified files are detected and never gated
  • --json output for tooling, exit codes built for CI

Usage:
npx failfirst # compares against origin/main or main
npx failfirst origin/develop --runner vitest