Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.95 KB

Readme.md

File metadata and controls

52 lines (36 loc) · 1.95 KB

Build status Allure test reports

Cucumber JUtils showcase

A simple showcase on how to use cucumber-jutils library while testing a notebook manager web application.

Requirements

JDK11, Maven, Docker & docker-compose

Setup

Start notebook-manager app:

src/test/resources/docker

docker-compose up

Notebook manager Swagger:
http://localhost:8090/swagger-ui.html

Configure Cucumber tests from Intellij Idea

Requirements

Cucumber for Java plugin configuration

Cucumber for Java plugin should by default read configuration from junit-platform.properties

Also, for newer versions of Idea (>=2022) you need the following plugin setup:
Run -> Edit configurations... -> Edit configuration templates -> Cucumber for Java -> Before launch -> Build project

Execution and Reports

Run tests from Idea

src/test/resources/features:

Right click any feature file or inside any feature file -> Run feature / Run scenario

Run tests from Maven

mvn clean -Plocal,allure-reports verify

Check for Cucumber Allure reports inside target/site/allure-maven-plugin/index.html
Or, directly inside GitHub pages by clicking on the Allure Test Reports badge or directly at
https://fslev.github.io/cucumber-jutils-tutorial

img.png