Automation framework using java, maven, cucumber, docker, docker-compose, JUnit
Test Automation is the best way to increase the effectiveness, test coverage, and execution speed in software testing.
Automated software testing is important due to the following reasons:
Manual Testing of all workflows, all fields, all negative scenarios is time and money consuming.
For this purpose this project provides the automation script
written in the Cucumber - BDD
way.
In order to run the provided application, please make sure you have docker
and docker-compose
installed on your system.
Execute the following commands inside the project root
folder.
Build
the docker image:
docker-compose -f docker-compose.yml build
Run
docker-compose -f docker-compose.yml up
In order to install and execute automation scripts locally,
you will need mvn
installed on your machine
Execute following commands inside project root
directory
Install
mvn clean install
Run
mvn test -Dbrowser=chrome -Dheadless=true -Denv=qa