Skip to main content
Manage quarantined tests for the current project. Quarantined tests still run by default but their results do not affect pipeline success, see run --skip-quarantined for opt-out behavior.
npx momentic quarantine add <test>

add

Quarantine a test so it stops impacting pipeline status.
npx momentic quarantine add <test>

Arguments

<test>
string
Name or path of the test to quarantine. Omit to pick interactively.

Options

--reason <reason>
string
Free-form reason shown alongside the test in the Momentic dashboard.

list

List every currently quarantined test in the project.
npx momentic quarantine list

remove

Unquarantine a test so its result counts again.
npx momentic quarantine remove <test>

Arguments

<test>
string
Name or path of the test to unquarantine. Omit to pick interactively.

Options

--reason <reason>
string
Optional reason recorded alongside the change.

Examples

Quarantine a flaky test with a reason:
npx momentic quarantine add tests/checkout/flaky.yaml --reason "investigating CHK-123"
List quarantined tests:
npx momentic quarantine list