Usage Guide
Run Assertian
Run Assertian from the root of a Git repository.
Inspect changes
assertian diff
Run mutation analysis
assertian run
Run Quick Test
assertian quick
AI-generated test proposals
When AI identifies an actionable survivor, Assertian can create a test proposal targeting the mutation.
List proposals
assertian ai-tests list
The active proposal set contains work that still needs validation. Successfully validated proposals are archived separately.
Apply a proposal manually
You can manually apply pending proposals:
assertian ai-tests apply <proposal-id> --yes
Or apply all pending proposals:
assertian ai-tests apply --all --yes
Manual application is optional when using validate.
Validate proposals
Validate one proposal:
assertian ai-tests validate <proposal-id>
Or validate all pending proposals:
assertian ai-tests validate --all
validate automatically applies pending proposals before deterministic validation. You do not need to run ai-tests apply first.
Retry a proposal
If a proposed test does not kill its target mutant, use a bounded retry:
assertian ai-tests validate --all --retry 1
Assertian asks the AI for a revised test, applies the revision, and validates it again. If the revised test kills the target mutant, the proposal is archived.
What validate --all means
validate --all selects pending proposals. Successfully archived proposals are not treated as new validation work.
Behavioral equivalence
If a mutation is behaviorally equivalent, Assertian should reject the remediation rather than manufacture a test based on introspection, mocks, spies, call capture, or implementation metadata.
AI proposal lifecycle
pending
│
├── validate → mutant killed → archived
│
├── validate → mutant survives
│ │
│ └── retry → revised test → validate
│
└── equivalent → rejected
See the AI Test Lifecycle for the full workflow.
Configuration
Repository-specific configuration lives in .assertian.yml.
AI is optional. The deterministic mutation result remains authoritative. Common AI settings such as input/output token budgets, request limits, and timeouts stay under ai. Provider-specific options live under the selected provider block.
See the Configuration guide for downloadable provider templates and the AI Test Lifecycle for AI workload and validation semantics.