Precondition: JDK, GDK, Chrome/Chromium
Groovy based testing for:
gradle -Dtest.single=BookTestSample -Dgeb.env=chrome -Dwebdriver.chrome.driver=chromedriver clean test
or Page Object example
gradle -Dtest.single=BookTestPageObject -Dgeb.env=chrome -Dwebdriver.chrome.driver=chromedriver clean test
- api testing - spock + http-builder
gradle -Dtest.single=ApiTest clean test
-
unit testing - spock
gradle -Dtest.single=CalculatorTest clean test
-
deploy - spock + geb + testcontainers
gradle -Dtest.single=DeployTest clean test
Deploying our app to the docker container, starting it, runing our tests and shutdown the container.
Video of test execution into container will be saved into build folder.