Skip to main content

Testing and verification

Jiandu provides three repository verification tiers:

./scripts/verify-core.sh
./scripts/verify-fast.sh
./scripts/verify.sh
  • verify-core.sh is the dependency-light loop for changes contained in domain and application boundaries.
  • verify-fast.sh adds formatting, linting, frontend checks, unit tests, and generated contracts for normal development.
  • verify.sh runs the release-ready gate, including broader database, packaging, and supply-chain checks.

Each stage prints a verify-timing line so regressions can be compared rather than guessed.

PostgreSQL live tests run in a deliberately disposable TLS-enabled database environment. Never point a test matrix at a database you care about.

For documentation changes:

cd website
npm run check

That prepares release snapshots, type-checks the Docusaurus configuration, builds the static site with broken-link enforcement, and exercises representative browser journeys against the built output.