Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit 6316bb4

Browse files
authored
Merge pull request #717 from hertzsprung/remove-skip-undefined-tests
remove reference to strict option
2 parents 70a6d14 + 3d84f69 commit 6316bb4

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

content/docs/cucumber/api.md

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,49 +1339,6 @@ class RunCucumberTest {
13391339

13401340
The default option for `monochrome` is `false`.
13411341

1342-
**Skip undefined tests:**
1343-
1344-
For example if you want to skip undefined steps from execution, you can specify it like this:
1345-
1346-
```java
1347-
package com.example;
1348-
1349-
import io.cucumber.junit.Cucumber;
1350-
import io.cucumber.junit.CucumberOptions;
1351-
import org.junit.runner.RunWith;
1352-
1353-
@RunWith(Cucumber.class)
1354-
@CucumberOptions(strict=false)
1355-
public class RunCucumberTest {
1356-
}
1357-
```
1358-
1359-
```kotlin
1360-
package com.example
1361-
1362-
import io.cucumber.junit.Cucumber
1363-
import io.cucumber.junit.CucumberOptions
1364-
import org.junit.runner.RunWith
1365-
1366-
@RunWith(Cucumber.class)
1367-
@CucumberOptions(strict=false)
1368-
class RunCucumberTest
1369-
```
1370-
1371-
```scala
1372-
package com.example;
1373-
1374-
import io.cucumber.junit.Cucumber;
1375-
import io.cucumber.junit.CucumberOptions;
1376-
import org.junit.runner.RunWith;
1377-
1378-
@RunWith(Cucumber.class)
1379-
@CucumberOptions(strict=false)
1380-
class RunCucumberTest {
1381-
}
1382-
```
1383-
The default option for `strict` is `true`.
1384-
13851342
**Select scenarios using tags:**
13861343

13871344
For example if you want to tell Cucumber to only run the scenarios specified with specific tags, you can specify it like this:

0 commit comments

Comments
 (0)