Skip to content

Latest commit

 

History

History
76 lines (36 loc) · 1.53 KB

README.md

File metadata and controls

76 lines (36 loc) · 1.53 KB

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.