Skip to content

Profile Fixture Contract

Review the profile fixture contract used by CLI command tests.

Repository-local command

cd productive-k3s-cli
bash -lc 'tmp="$(mktemp -d)"; trap '"'"'"'"'"'"'"'"'rm -rf "$tmp"'"'"'"'"'"'"'"'"' EXIT; TEST_ARTIFACTS_DIR="$tmp" bash ./tests/contracts/05-profile-command-contract.sh && cat "$tmp/profile-command-contract.json"'

Cast preview

Scenario details

Review the profile fixture contract used by CLI command tests.

Use this when you want to confirm that:

  • the fixture used by CLI command tests contains the required Infra contract variables
  • the engine field is constrained to the supported values
  • the test surface is grounded in a concrete checked-in profile fixture