Skip to content

Commit c27b7f1

Browse files
failfast updated
1 parent fb7d362 commit c27b7f1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/hyperexecute-failfast.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,21 @@ failFast:
5858
maxNumberOfTests: 2
5959
```
6060
61+
62+
:::info
63+
To apply `failFast` at the **scenario** level instead of the default test level, set the `level: scenario` in the YAML configuration.
64+
65+
```yaml
66+
failFast:
67+
maxNumberOfTests: 2
68+
level: scenario
69+
```
70+
:::
71+
72+
> **NOTE :** You can specify `failFast` at either the test level or scenario level, depending on your requirements. Both configurations will work, but can lead to unexpected results, only one should be used at a time.
73+
74+
***
75+
6176
For a deeper understanding of the HyperExecute YAML and its versatile features, we invite you to explore our dedicated [HyperExecute YAML documentation](/support/docs/deep-dive-into-hyperexecute-yaml/) page. This resource-rich section provides valuable insights to empower your testing endeavors.
6277

6378
***

0 commit comments

Comments
 (0)