Skip to content

sivaganesh1988/employee-management-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee API Test Automation

Test Automation project to demonstrate the automation of a webservice for creating, viewing, updating and deleting an employee

Objective

To demonstrate the ability to create an API automation framework from scratch which uses BDD format scenarios and follows SOLID principles for implementing design pattern

Framework/Tools used

  • Java 1.8
  • Cucumber 4
  • Serenity 2.4.2
  • Junit
  • Github Actions for CI
  • Github Pages for reporting

Execution Instructions

  • Using Github Actions

Github Actions is already enabled for this repo. Build can be triggered by any one of the below options.

  1. Edit any file and commit directly to the main branch. This will auto-trigger the github action build.

  2. Open any existing build in github actions tab and re-run the jobs.

Report will be auto-updated in the below github pages URL after performing any of the above step.

Access the test execution report here

  • Using local machine

Please ensure git and maven are already installed before trying the below commands

# run the below commands from command prompt

git clone https://github.com/sivaganesh1988/employee-management-test.git
cd employee-management-test
mvn clean verify -Dfailsafe.rerunFailingTestsCount=4

Report can be found in your project folder under the below location /target/site/serenity/index.html

Useful links