- Can be updated when leveraging this framework for a project
- Google search
- Junit 5 parametrized test
- Selenide - Selenide is a framework for test automation powered by Selenium WebDriver
- Maven - Dependency Management
- Junit5 - Test Framework for Java
- Allure - Test Reporting Framework
- Docker - For generating Emailable report.
- Java Faker - For dynamic test data.
-
Step 1: To execute the test.
- Test Class 1
mvn clean test -Dtest=<Classname1> -Duser=<user> -Dproperty=sample.properties
- Test Class 2
mvn clean test -Dtest=<Classname2> -Duser=<user> -Dproperty=sample.properties
- Test Class 1
-
Step 2: To look at Test report.
mvn allure:serve
Ability to search on Google iteratively be leveraging Junit 5 Parametrized test
To get emailable version of the report, we need to run the below command.
docker run -p 4040:4040 -p 5050:5050 -e CHECK_RESULTS_EVERY_SECONDS=3 -e KEEP_HISTORY="TRUE" -v "$(pwd)/target/allure-results:/app/allure-results" frankescobar/allure-docker-service
Once the docker container is up and running :
- To view the report navigate to:
http://localhost:5050/emailable-report/render
- To export the report navigate to:
http://localhost:5050/emailable-report/export
- Emailable Report Sample
- Anil Kulkarni
-Use picocli/other libraries for arguments.
-Exception handling.
-Better Test Data handling.