(Go: >> BACK << -|- >> HOME <<)

Skip to content

This is Starter Project API Automation Testing Using Rest Assured, Cucumber, JUnit and Serenity BDD for Reporting

Notifications You must be signed in to change notification settings

ferdyciputra/serenity-starter-project-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

serenity-starter-project-api

This Project API Automation Testing Using Rest Assured, Cucumber, JUnit and Serenity BDD for Reporting

Required

  1. Download Java OpenJDK 11 Tutorial Installation Java in Windows

  2. Download Maven

*If your computer already installed Java and Maven, you can skip step number 1 and 2.

Added New Scenario BDD

In order to added some Scenario BDD, we can create new file feature in directory src/test/resources/features

Writing the step definitions (Breaking Down Scenario BDD Into Steps)

In order to translate the steps from Scenario BDD into executable actions, we write Java classes called Step Definitions in directory src/test/java/steps

Running Test Case with Default Environment

mvn clean verify

Running Test Case with Specific Environment (file serenity.conf)

file serenity.conf located in folder src/test/resources

mvn clean verify -Denvironment=value

See Report Serenity BDD

  • file report located in target/site/serenity/index.html

Example Serenity Report

  • Specific Test Details

Example Serenity Report

Example Serenity Report

Example Serenity Report

About

This is Starter Project API Automation Testing Using Rest Assured, Cucumber, JUnit and Serenity BDD for Reporting

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published