Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.25 KB

INTEGRATION_TESTING.md

File metadata and controls

42 lines (32 loc) · 2.25 KB

Integration Testing

To improve the quality of the application more beside the testing in the separate repositories we also created some integration tests to test all components together. The integration tests are executed against the Docker Compose version in this project.

We are using the Robot Framework to execute the integration tests. For the Robot Framework we are using the Browser Library to do the Web testing. this Library is based on Playwright. All Integration Tests and data can be found in the directory 'integration-testing'. Output can be found in the directory 'target' is below commands and Github Actions are used.

Some useful links:

Some useful commands to execute the Robot Framework locally.
Please follow the instructions of Robot Framework to install the Framework.
And also follow the instruction of Browser Library to install this needed library.

# Prefer to remove the target directory before starting.
rm -r target

# Normal run of all the test suites (with firefox, headless).
robot -d target/firefox integration-testing/

# Run of all the test suites (with firefox in presenter mode to better follow what happens).
robot -d target/firefox -v browser:firefox -v enable_presenter_mode:true -v headless:false integration-testing/

# Run of all the test suites (with chromium, headless), looks like chromium now only works headless. It crashs otherwise.
robot -d target/chromium -v browser:chromium integration-testing/