Testing

Unit, integration, live release gates, and public site contract checks.

Sidekick is a Shell/Bash and Markdown project. Tests are Bash scripts under tests/, and the public site has dedicated contract checks so docs stay aligned with supported sidekicks.

Main Commands

# Strict non-live unit and integration suites bash tests/run_unit.bash # Skip-safe local sweep bash tests/run_all.bash # Live release gate for the local Codex sidekick path bash tests/run_in_kay.bash SIDEKICK_LIVE_CODEX=1 bash tests/run_release.bash

Test Pyramid

TierScriptPurpose
Strict unit and integrationtests/run_unit.bashStatic, hook, installer, manifest, generated-surface, docs, and runner-contract checks.
Skip-safe local sweeptests/run_all.bashUnit checks plus live wrappers in skip-safe mode when live env vars are absent.
Live Codex release gatetests/run_in_kay.bash SIDEKICK_LIVE_CODEX=1 bash tests/run_release.bashRelease-authorizing live path for delegated Codex work.

Public Site Contract Tests

SuiteCoverage
tests/test_homepage_sidekicks.bashHomepage names Kay, Codex, Cursor, activation commands, host verification, and release evidence.
tests/test_help_site_navigation.bashHelp pages exist, share navigation, document Kay/Codex workflows.
tests/test_docs_contract.bashPublic Markdown docs align with the current Sidekick contract.

Host Verification Coverage

Verification should catch missed requirements, integration errors, regressions, wrong logic, syntax errors, wrong files, unverified assumptions, knowledge gaps, misunderstood task scope, incomplete trials, provider API failures, and external execution failures.