Skip to content

Api Testing Framework based on Serenity-BDD with Cucumber4 flavour build on top of Rest Assured Library.

Notifications You must be signed in to change notification settings

mayank-kapoor/api-test-serenity-bdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Api Testing Framework based on Serenity-BDD with Cucumber4 flavour build on top of Rest Assured Library.

Dummy open Api's (Book, Employee) have been used to automate with serenity bdd with cucumber4 build on top of Rest Assured Framework.

#1589F0 Pre-Requisites

- JAVA8 or above

- Maven3 or above

- IDE - Eclipse/IntelliJ

#1589F0 Installation

- git clone project

- import as maven project in your respective IDE

Command Line

- cd api-test-serenity-bdd

- mvn clean compile

#1589F0 RUN TESTS

mvn verify -Denvironment=dev/stage/test

#f03c15 Note: For now only dev env has been populated, properties can be added in /src/resources/serenity.conf file for each environment

Test Data

Test data has been defined in feature files which are processed with corresponding json templates defined in resources/templates

Test Report

Test report is generated at /Project Directory/target/site/serenity/index.html

#1589F0 Sample Report Screenshot

ScreenShot

TBD/WIP

  • Cucumber 5 Update
  • Dependencies Update
  • CI Build

Contributions

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Api Testing Framework based on Serenity-BDD with Cucumber4 flavour build on top of Rest Assured Library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published