You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/README.md
+23-5Lines changed: 23 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Basically we have two sources for feature tests and test suites:
19
19
20
20
At the moment, both can be applied to OpenCloud.
21
21
22
-
As a storage backend, we support the OpenCloud native storage, also called `decomposed`. This stores files directly on disk. Along with that we also provide `decomposeds3`, `posix`storage drivers.
22
+
As a storage backend, we support the OpenCloud native storage, also called `decomposed`. This stores files directly on disk. Along with that we also provide `decomposeds3`, `posix` storage drivers.
23
23
24
24
You can invoke two types of test suite runs:
25
25
@@ -154,6 +154,23 @@ make -C tests/acceptance/docker test-core-feature-decomposed-storage
154
154
Note:
155
155
The test suites transferred from core have `coreApi` prefixed
156
156
157
+
### Running Collaboration API Tests Locally
158
+
159
+
Running collaboration API tests requires extra services. You can enable the required services by providing the environment variable `ENABLE_WOPI=true` while running the tests.
### OpenCloud Image to Be Tested (Skip Local Image Build)
158
175
159
176
By default, the tests will be run against the docker image built from your current working state of the OpenCloud repository. For some purposes it might also be handy to use an OpenCloud image from Docker Hub. Therefore, you can provide the optional flag `OC_IMAGE_TAG=...` which must contain an available docker tag of the [opencloud-eu/opencloud registry on Docker Hub](https://hub.docker.com/r/opencloud-eu/opencloud) (e.g. 'latest').
@@ -573,17 +590,17 @@ The sample `fontsMap.json` file is located in `tests/config/drone/fontsMap.json`
573
590
### Build dev docker
574
591
575
592
```bash
576
-
make -C opencloud dev-docker
593
+
make -C opencloud dev-docker
577
594
```
578
595
579
596
### Choose STORAGE_DRIVER
580
-
By default, the system uses `posix` storage. However, you can override this by setting the `STORAGE_DRIVER` environment variable.
581
597
598
+
By default, the system uses `posix` storage. However, you can override this by setting the `STORAGE_DRIVER` environment variable.
582
599
583
-
### Run a script that starts the openCloud server in the docker and runs the API tests locally (for debugging purposes)
600
+
### Run a script that starts the openCloud server in the docker and runs the API tests locally (for debugging purposes)
0 commit comments