Aim of this project to train parallel test execution. Also this project proof compatibility between Java 13 (openjdk) and common test automation tools (JUnit5, Selenium)
How to launch tests:
- Download chromedriver and put it to taf-junit5-openjdk/acceptance-tests/src/main/resources/chromedriver folder
- Follow instructions of taf-junit5-openjdk/acceptance-tests/src/main/resources/junit-platform.properties.template and set parallel execution properties
- Launch options:
- Launch tests via IDE acceptance-tests/src/test/java/pii/taf/poc/multilaunch/tests
- Use maven profiles with predefined suites smoke-tests, acceptance-tests
Example: mvn clean test -Pacceptance-tests
- Use test tags and build unique test suite
Example: mvn clean -Djunit.tags='smoke|login' test - For generating test add goal surefire-report:report to maven command
Example: mvn clean test -Pacceptance-tests surefire-report:report
A HTML report should be generated in acceptance-tests/target/site/surefire-report.html.