- Gradle project
- Selenide as Web automation framework
- JUnit5 as test runner xUnit framework
- Project is building on GitHub Actions
- Allure as test reporting
- Allure test report URL : https://isandratskiy.github.io/automationpractice-github-actions-demo/
- JavaOwner for example parameterizing test data
- Flogger as logger with fluent interface
- Docker (is optional for remote running)
- Java 8
./selenoid_start.sh
- or run docker-compose file (not recommended for Windows) :
docker-compose up
- You can open Selenoid UI as localhost:8081 in browser
- should be imported as Gradle project with using Gradle wrapper
- for run tests from IDEA You need to enable Annotation Processing
Settings > Build > Compiler > Annotation Processors
commands syntax:
- local run example (Chrome browser as default and without parallelism)
./gradlew clean test
- local run with specific browser and parallelism
./gradlew clean -Pthread=2 testChrome
./gradlew clean -Pthread=2 testFirefox
- remote run with specific browser and parallelism
./gradlew clean -Pthread=2 -Plaunch=remote testChrome
./gradlew clean -Pthread=2 -Plaunch=remote testFirefox
- generate report after full test run
./gradlew allureReport
- then run Allure web service
./gradlew allureServe