From the course: Cucumber Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Use monochrome and dryRun parameters
From the course: Cucumber Essential Training
Use monochrome and dryRun parameters
- [Instructor] Let's examine our JSON report output. If I double click this file, right now I have JSON associated with Notepad. It will give you the JSON format. This doesn't look very formatted, but typically what you would do is you would use a third party tool to parse this information and store it and display somewhere else. Let's see the third type of report that is generated, which is a JUnit report, which is in the format of XML. And this obviously gives me a warning. But as you can see, this is all XML data. Let me go ahead and show you this report in Eclipse. Let's navigate to Package Explorer, target. Let's refresh this folder. And under SystemTestReports, junit. If I double click on report.xml, this gives me a nicely formatted JUnit output, because I have the JUnit plugin within Eclipse. Let's go ahead and play with a few more parameters. So the other thing I am going to add here is a new configuration here called dryRun. And this is false by default. I'm going to make it…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Cucumber tags: Add a tag4m 50s
-
(Locked)
Cucumber tags: Multiple tags2m 24s
-
(Locked)
Cucumber tags: Maven test with tags1m 39s
-
(Locked)
Background: Add background2m 26s
-
(Locked)
Background: Duplicate item2m 49s
-
(Locked)
Background: Execution flow2m 53s
-
(Locked)
Cucumber hooks: Adding hooks4m 30s
-
(Locked)
Cucumber hooks: Tagged hooks1m 49s
-
(Locked)
Cucumber reports: Generate reports3m 8s
-
(Locked)
Use monochrome and dryRun parameters3m 37s
-
(Locked)
-
-
-
-