Skip to main content
hitspec integrates with any CI/CD system. This guide covers common patterns for automated API testing.

GitHub Actions

GitLab CI

General CI/CD Tips

Exit Codes

hitspec uses standard exit codes. See Exit Codes for the full list.
  • 0 — all tests passed
  • 1 — one or more tests failed
  • 2 — parse error
  • 3 — config error

Environment Variables

Store sensitive values as CI/CD secrets:

Parallel Testing in CI

Use --output json --output-file results.json to generate output compatible with hitspec diff for regression detection between builds.
Last modified on July 14, 2026