Sample Kotlin test project with Gradle, Cucumber, testNG, Allure, Selenium
$ gradle clean test
$ gradle allureReport allureServe
PREREQUISITES:
- docker installed see instruction
- docker-compose installed see instruction
- vnc client installed (e.g Vinagre or VNC® Viewer for Google Chrome™
in terminal window #1
$ docker-compose up
Open VNC client, connect with pass: secret
localhost:15900
(chrome node)
localhost:25900
(firefox node)
in terminal window #2
$ KOTLIN_POC_USE_SELENIUM_GRID=true KOTLIN_POC_SELENIUM_GRID_URL=http://localhost:14444/wd/hub gradle clean test
when tests finished in terminal window #1
^C
$ docker-compose down