This repository was archived by the owner on Dec 21, 2024. It is now read-only.
File tree 1 file changed +0
-43
lines changed
1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -1339,49 +1339,6 @@ class RunCucumberTest {
1339
1339
1340
1340
The default option for ` monochrome ` is ` false ` .
1341
1341
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
-
1385
1342
** Select scenarios using tags:**
1386
1343
1387
1344
For example if you want to tell Cucumber to only run the scenarios specified with specific tags, you can specify it like this:
You can’t perform that action at this time.
0 commit comments