Skip to content

Commit 58c4ae0

Browse files
committed
docs: add the disabled ITS context
* Add the disabled context to the list of available IntegrationTestScenario contexts Signed-off-by: dirgim <[email protected]> rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED
1 parent acfc1ce commit 58c4ae0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/modules/ROOT/pages/how-tos/testing/integration/choosing-contexts.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ The full list of supported contexts is:
1313
* “push” - runs the integration test in case of the Snapshot being created for a `push` event
1414
* "override” - runs the integration test for an `override` Snapshot
1515
** See more in xref:how-tos/testing/integration/override-snapshots.adoc[Creating an override snapshot]
16+
* "disabled" - disables the execution of the given integration test if it's the only context that's defined
17+
** This can be useful if the scenario in question needs to only be executed manually, see more about running
18+
integration tests manually in xref:how-tos/testing/integration/rerunning.adoc[Rerunning an integration test]
1619
1720
+
1821
NOTE: When multiple contexts are defined, the IntegrationTestScenario will execute if any of the specified contexts match the snapshot. This approach ensures that the test runs as long as at least one context applies, without requiring all defined contexts to be met.

0 commit comments

Comments
 (0)