You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/how-tos/testing/integration/choosing-contexts.adoc
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,9 @@ The full list of supported contexts is:
13
13
* “push” - runs the integration test in case of the Snapshot being created for a `push` event
14
14
* "override” - runs the integration test for an `override` Snapshot
15
15
** 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]
16
19
17
20
+
18
21
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