Nuclos integration tests: IntelliJ, Docker, Selenium, standalone-chrome, groovy, /etc/hosts, VM parameters, JUnit. |
Language: Deutsch · English
Run integration tests in IntelliJ – server tests (Groovy) and web client tests with Selenium/Docker.
On this page |
Run server and web client integration tests in IntelliJ – the web client tests use a Selenium container via Docker.
localhost.nuclos-integrationstests/src/test/groovy/org/nuclos/test.Start a *.groovy file under server (or the whole directory) via Run/Debug and wait for the results.
docker run -d -p 4444:4444 -p 5900:5900 selenium/standalone-chrome-debug |
Add the required hosts to /etc/hosts (Windows: %windir%\system32\drivers\etc\hosts), start the web client and set the VM parameters in IntelliJ (Edit Configurations → JUnit → Edit configuration templates…).
Without a set |