Skip to content

Commit

Permalink
Merge pull request #43 from trivago/template_refactoring
Browse files Browse the repository at this point in the history
Template refactoring
  • Loading branch information
Benjamin Bischoff authored Apr 18, 2018
2 parents be17fcb + 6e8dac1 commit aaa8f2d
Show file tree
Hide file tree
Showing 23 changed files with 65 additions and 894 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

Back to [Readme](README.md).

## [0.7.0] - 2018-04-18

# Changed

* Unified report design
* Updated all dependencies
* Completely changed freemarker code to be better extensible

## [0.6.0] - 2018-04-12

# Added
Expand Down
72 changes: 37 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@


- [Cluecumber Report Maven Plugin](#cluecumber-report-maven-plugin)
- [Generated pages](#generated-pages)
- [Test suite overview page](#test-suite-overview-page)
- [Scenario detail pages](#scenario-detail-pages)
- [Tag statistics page](#tag-statistics-page)
- [Changelog](#changelog)
- [Prerequisites](#prerequisites)
- [Maven POM settings](#maven-pom-settings)
Expand All @@ -24,10 +28,6 @@
- [Optional Configuration Parameters](#optional-configuration-parameters)
- [CustomParameters](#customparameters)
- [Example](#example)
- [Generated pages](#generated-pages)
- [Test suite overview page](#test-suite-overview-page)
- [Scenario detail pages](#scenario-detail-pages)
- [Tag statistics page](#tag-statistics-page)
- [Example project](#example-project)
- [Additional Information](#additional-information)
- [Building](#building)
Expand All @@ -49,6 +49,39 @@ This project was created because

**Note:** If you need to run Cucumber tests in parallel, please check out our [Cucable](https://github.com/trivago/cucable-plugin) project!

# Generated pages

## Test suite overview page

This page shows the most important information about the test suite:

- run time
- number of passed, failed and skipped scenarios
- grouped scenarios by status
- optional custom parameters

![report_overview](documentation/img/report_overview.png)

## Scenario detail pages

The scenario detail pages can be reached by clicking on the scenario name in the test suite overview page.

It shows:

- scenario name and description
- step runtimes and status
- before and after steps
- stack traces of failed steps
- screenshots

![report_detail](documentation/img/report_details.png)

## Tag statistics page

The tag statistics page shows an overview about the used tags and passed, failed and skipped scenarios with those tags.

![tags](documentation/img/tags.png)

## Changelog

All changes are documented in the [full changelog](CHANGELOG.md).
Expand Down Expand Up @@ -129,37 +162,6 @@ Valid URLs that start with a protocol (http, https, ftp) are automatically recog

![custom parameters](documentation/img/custom_params.png)

# Generated pages

## Test suite overview page

This page shows the most important information about the test suite:

- run time
- number of passed, failed and skipped scenarios
- grouped scenarios by status
- optional custom parameters

![report_overview](documentation/img/report_overview.png)

## Scenario detail pages

The scenario detail pages can be reached by clicking on the scenario name in the test suite overview page.

It shows:

- scenario name and description
- step runtimes and status
- before and after steps
- stack traces of failed steps
- screenshots

![report_detail](documentation/img/report_details.png)

## Tag statistics page

The tag statistics page shows an overview about the used tags and passed, failed and skipped scenarios with those tags.

# Example project

You can test the complete flow and POM configuration by checking out the [Cucable example project](example-project).
Expand Down
Binary file modified documentation/img/report_details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified documentation/img/report_overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documentation/img/tags.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 0 additions & 35 deletions example-project/json/001-one-passing-scenario.feature.js.json

This file was deleted.

34 changes: 0 additions & 34 deletions example-project/json/001-one-passing-scenario.feature.rb.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions example-project/json/003-one-failing-scenario.feature.js.json

This file was deleted.

35 changes: 0 additions & 35 deletions example-project/json/003-one-failing-scenario.feature.rb.json

This file was deleted.

Loading

0 comments on commit aaa8f2d

Please sign in to comment.