| Auszug |
|---|
|
Nuclos integration tests: IntelliJ, Docker, Selenium, standalone-chrome, groovy, /etc/hosts, VM parameters, JUnit. |
Language: Deutsch · English
Running the integration tests with IntelliJ (and Docker)
Run integration tests in IntelliJ – server tests (Groovy) and web client tests with Selenium/Docker.
| Status |
|---|
| colour | Green |
|---|
| title | Stand: Jul 2026 |
|---|
|
| Status |
|---|
| colour | Grey |
|---|
| title | gilt fuer Nuclos 4.2026.x |
|---|
|
Run server and web client integration tests in IntelliJ – the web client tests use a Selenium container via Docker.
Setup
- Start the server in IntelliJ on
localhost. - Import the test nuclet (via REST, no rich client needed).
- Test code under
nuclos-integrationstests/src/test/groovy/org/nuclos/test.
Server integration tests
Start a *.groovy file under server (or the whole directory) via Run/Debug and wait for the results.
Web client integration tests
| Codeblock |
|---|
|
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…).
| Info |
|---|
|
Without a set selenium.server, the tests start their own Docker container that is deleted afterwards. Optional parameters: nuclos.webclient.screenshots, nuclos.failing.videos.path. |
Related pages