Test Automation project to demonstrate the automation of a webservice for creating, viewing, updating and deleting an employee
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
- Java 1.8
- Cucumber 4
- Serenity 2.4.2
- Junit
- Github Actions for CI
- Github Pages for reporting
- Using Github Actions
Github Actions is already enabled for this repo. Build can be triggered by any one of the below options.
-
Edit any file and commit directly to the main branch. This will auto-trigger the github action build.
-
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
- API documentation - http://dummy.restapiexample.com/
- Github actions - https://github.com/features/actions