Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.09 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.09 KB

GTest

Precondition: JDK, GDK, Chrome/Chromium

Groovy based testing for:

  1. e2e testing - spock + geb

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

  1. api testing - spock + http-builder

gradle -Dtest.single=ApiTest clean test

  1. unit testing - spock

    gradle -Dtest.single=CalculatorTest clean test

  2. 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.