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.
Cucumber reports: Generate reports
From the course: Cucumber Essential Training
Cucumber reports: Generate reports
- [Instructor] Cucumber reports. We have seen Cucumber test results outputted in the Eclipse console or command prompt. Wouldn't it be nice if these outputs were stored in files that could be distributed to your teammates? This is what we will focus on in this video. We will use the same pretty plugin that we used to generate formatted outputs to generate reports. The first thing I am going to do is remove references to the hooks package because we do not need those outputs anymore. Let's go ahead and save this, let's maximize this file. So, under the pretty plugin, I'm going to extend my outputs to now include three types of reports. The first report is going to be in the format html and it's going to be placed under the target folder and the target folder is here, let me show that in Package Explorer. This is the folder. And within the target folder, let's add another sub folder called SystemTestReports and let's add a sub folder here called html. The second report I'm going to…
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)
-
-
-
-