Skip to content

Commit a5febd7

Browse files
committed
updated cucumber option commands
1 parent be5da41 commit a5febd7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/installation.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
# Setting up selenium-cucumber-java
1010
- Install Java and set path.
1111
- Install Maven and set path.
12-
- Clone repository “https://github.com/selenium-cucumber/selenium-cucumber-java” or download zip.
12+
- Clone respective repository or download zip.
13+
- maven : https://github.com/selenium-cucumber/selenium-cucumber-java-maven-example
1314

1415
# Running features
1516
- Goto project directory.
@@ -21,7 +22,7 @@
2122
-- ie
2223
-- safari
2324
- Use mvn test -Dcucumber.options="classpath:features/my_first.feature" to run specific feature if you have multiple feature files.
24-
- Use mvn test -Dcucumber.options="–plugin html:target/result.html" to generate a HTML report.
25-
- Use mvn test -Dcucumber.options="–plugin json:target/result.json" to generate a JSON report.
25+
- Use mvn test -Dcucumber.options="–-plugin html:target/result-html" to generate a HTML report.
26+
- Use mvn test -Dcucumber.options="–-plugin json:target/result-json" to generate a JSON report.
2627

2728
- Now Write your own tests in feature file using <a href="https://github.com/selenium-cucumber/selenium-cucumber-java/blob/master/doc/canned_steps.md">Predefined Steps</a> .

0 commit comments

Comments
 (0)