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

remove reference to strict option #717

Merged
merged 1 commit into from
Jan 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions content/docs/cucumber/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1339,49 +1339,6 @@ class RunCucumberTest {

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

**Skip undefined tests:**

For example if you want to skip undefined steps from execution, you can specify it like this:

```java
package com.example;

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(strict=false)
public class RunCucumberTest {
}
```

```kotlin
package com.example

import io.cucumber.junit.Cucumber
import io.cucumber.junit.CucumberOptions
import org.junit.runner.RunWith

@RunWith(Cucumber.class)
@CucumberOptions(strict=false)
class RunCucumberTest
```

```scala
package com.example;

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

@RunWith(Cucumber.class)
@CucumberOptions(strict=false)
class RunCucumberTest {
}
```
The default option for `strict` is `true`.

**Select scenarios using tags:**

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