Help us shape the future of Go! Take the 2026 Go Developer Survey

parity

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command parity compares the output of "go test -json ./..." with the list of the passing tests of PocketBase v0.40.6 (tests/golden/pocketbase-v0.40.6-tests.txt).

Every reference test must pass or be skipped (itself or one of its parent tests) with a "popgres: <reason>" message documented in docs/COMPATIBILITY.md. The renamed and removed reference tests are listed with their reason in tests/golden/parity-renamed.txt. The missing tests are printed and the command exits with status 1 if there are any.

go test -json ./... | go run ./tests/cmd/parity
go run ./tests/cmd/parity -in test-output.jsonl

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL