@@ -9,7 +9,9 @@ SPDX-License-Identifier: Apache-2.0
9
9
[ ![ Slack] ( https://raw.githubusercontent.com/com-pas/compas-architecture/master/public/LFEnergy-slack.svg )] ( http://lfenergy.slack.com/ )
10
10
11
11
# CoMPAS Deployment Repository
12
- Containing tools / configurations for deploying CoMPAS services.
12
+ Containing tools / configurations for deploying CoMPAS services. For a deployment overview see [ here] ( DEPLOYMENT.md )
13
+
14
+ More about the integration tests being run against these Docker Compose environment can be found [ here] ( INTEGRATION_TESTING.md )
13
15
14
16
## Docker Compose (BaseX)
15
17
There is a pre configured [ Docker Compose] ( compas/docker-compose-basex.yml ) file, which starts all the given CoMPAS services.
@@ -104,40 +106,3 @@ These roles are assigned to certain users (see below).
104
106
- ** A SCD Reader** : A user with the role 'Read' only on the SCD Type.
105
107
- Username: scd-reader
106
108
- Password: reader
107
-
108
- ## Integration Testing
109
-
110
- To improve the quality of the application more beside the testing in the separate repositories we also created some integration
111
- tests to test all components together. The integration tests are executed against the Docker Compose version in this project.
112
-
113
- We are using the [ Robot Framework] ( https://robotframework.org/ ) to execute the integration tests. For the Robot Framework we are
114
- using the [ Browser Library] ( https://github.com/MarketSquare/robotframework-browser ) to do the Web testing. this Library is based
115
- on [ Playwright] ( https://playwright.dev/ ) . All Integration Tests and data can be found in the directory 'integration-testing'.
116
- Output can be found in the directory 'target' is below commands and Github Actions are used.
117
-
118
- Some useful links:
119
- - [ Robot Framework] ( https://robotframework.org/ )
120
- - [ Robot Framework User Guid] ( https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html )
121
- - [ Robot Framework BuildIn Keywords] ( https://robotframework.org/robotframework/latest/libraries/BuiltIn.html )
122
- - [ Browser Library] ( https://github.com/MarketSquare/robotframework-browser )
123
- - [ Browser Library Keywords] ( https://marketsquare.github.io/robotframework-browser/Browser.html )
124
- - [ Playwright] ( https://playwright.dev/ )
125
- - [ Playwright Documentation] ( https://playwright.dev/docs/intro/ )
126
-
127
- Some useful commands to execute the Robot Framework locally.
128
- Please follow the instructions of [ Robot Framework] ( https://robotframework.org/ ) to install the Framework.
129
- And also follow the instruction of [ Browser Library] ( https://github.com/MarketSquare/robotframework-browser ) to install this needed library.
130
-
131
- ```
132
- # Prefer to remove the target directory before starting.
133
- rm -r target
134
-
135
- # Normal run of all the test suites (with firefox, headless).
136
- robot -d target/firefox integration-testing/
137
-
138
- # Run of all the test suites (with firefox in presenter mode to better follow what happens).
139
- robot -d target/firefox -v browser:firefox -v enable_presenter_mode:true -v headless:false integration-testing/
140
-
141
- # Run of all the test suites (with chromium, headless), looks like chromium now only works headless. It crashs otherwise.
142
- robot -d target/chromium -v browser:chromium integration-testing/
143
- ```
0 commit comments