[docs-only] Add email service to the docker-compose setup for tests (#6347)

* add email docker compose for running tests

* update docs to run email tests in docker compose setup

* fix typo
This commit is contained in:
Sawjan Gurung
2023-05-19 18:03:55 +05:45
committed by GitHub
parent fe6195b689
commit 89d92d7b1d
5 changed files with 31 additions and 0 deletions

View File

@@ -69,6 +69,17 @@ make -C tests/acceptance/docker test-ocis-feature-ocis-storage
But some test suites that are tagged with `@env-config` require the oCIS server to be run with ociswrapper. So, running those tests require `WITH_WRAPPER=true` (default setting).
{{< /hint >}}
{{< hint info >}}
To run the tests that require an email server (tests tagged with `@email`), you need to provide `START_EMAIL=true` while running the tests.
```bash
START_EMAIL=true \
BEHAT_FEATURE='tests/acceptance/features/apiEmailNotification/emailNotification.feature' \
make -C tests/acceptance/docker test-ocis-feature-ocis-storage
```
{{< /hint >}}
#### Tests Transferred From ownCloud Core (prefix `coreApi`)
Command `make -C tests/acceptance/docker Core-API-Tests-ocis-storage-3` runs the same tests as the `Core-API-Tests-ocis-storage-3` CI pipeline, which runs the third (out of ten) test suite groups transferred from ownCloud core against the oCIS server with ocis storage.