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

Use monochrome and dryRun parameters

From the course: Cucumber Essential Training

Start my 1-month free trial

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…

Contents