@@ -32,27 +32,26 @@ public class RunCucumberTest {
3232}
3333```
3434
35- This will execute all scenarios in same package as the runner, by default glue
35+ This will execute all scenarios in the same package as the runner; by default glue
3636code is also assumed to be in the same
3737package. The ` @CucumberOptions ` can be used to provide
3838[ additional configuration] ( https://docs.cucumber.io/cucumber/api/#list-configuration-options )
3939to the runner.
4040
41-
4241## Using JUnit Rules ##
4342
44- Cucumber supports JUnits ` @ClassRule ` , ` @BeforeClass ` and ` @AfterClass `
45- annotations. These will executed before and
46- after all scenarios. Using these is not recommended as it limits the portability
43+ Cucumber supports JUnit's ` @ClassRule ` , ` @BeforeClass ` , and ` @AfterClass `
44+ annotations. These will be executed before and
45+ after all scenarios. Using these is not recommended as it limits portability
4746between different runners; they may not
48- execute correctly when using the commandline , [ IntelliJ IDEA] ( https://www.jetbrains.com/help/idea/cucumber.html ) or
47+ execute correctly when using the command line , [ IntelliJ IDEA] ( https://www.jetbrains.com/help/idea/cucumber.html ) , or
4948[ Cucumber-Eclipse] ( https://github.com/cucumber/cucumber-eclipse ) . Instead it is
50- recommended to use Cucumbers ` Before ` and ` After ` hooks.
49+ recommended to use Cucumber's ` Before ` and ` After ` hooks.
5150
5251## Using other JUnit features ##
5352
5453The Cucumber runner acts like a suite of a JUnit tests. As such other JUnit
55- features such as Custom JUnit
54+ features like custom JUnit
5655Listeners and Reporters can all be expected to work.
5756
5857For more information on JUnit, see the [ JUnit web site] ( http://www.junit.org ) .
@@ -63,8 +62,8 @@ Through [Assume](https://junit.org/junit4/javadoc/4.12/org/junit/Assume.html)
6362and [ Assumptions] ( https://junit.org/junit5/docs/5.0.0/api/org/junit/jupiter/api/Assumptions.html )
6463JUnit4 and JUnit5 provide:
6564
66- > a collection of utility methods that support conditional test execution based
67- > on assumptions.
65+ > a collection of utility methods that support conditional test execution based
66+ > on assumptions.
6867>
6968> In direct contrast to failed assertions, failed assumptions do not result in a
7069> test failure; rather, a failed assumption results in a test being aborted.
@@ -73,7 +72,7 @@ JUnit4 and JUnit5 provide:
7372> execution of a given test method — for example, if the test depends on
7473> something that does not exist in the current runtime environment.
7574
76- The Cucumber runner supports ` Assume ` and will marked skipped scenarios as
75+ The Cucumber runner supports ` Assume ` and will mark skipped scenarios as
7776skipped.
7877
7978## Parallel Execution with Maven ##
0 commit comments