diff --git a/docs/ocis/development/testing.md b/docs/ocis/development/testing.md index cdd7cd8e01..3fb3d25589 100644 --- a/docs/ocis/development/testing.md +++ b/docs/ocis/development/testing.md @@ -42,7 +42,7 @@ In the ownCloud 10 core clone the testing app with the following command: git clone https://github.com/owncloud/testing apps/testing ``` -Then run the api acceptance tests with the following command inside the `./ocis` directory: +Then run the api acceptance tests with the following command from the root of the OCIS repo: ``` make test-acceptance-api \ TEST_SERVER_URL=https://localhost:9200 \ @@ -61,14 +61,14 @@ To run a single test add `BEHAT_FEATURE=` ### use existing tests for BDD As a lot of scenarios are written for oC10, we can use those tests for Behaviour driven development in ocis. -Every scenario that does not work in OCIS with "owncloud" storage, is listed in `ocis/tests/acceptance/expected-failures-on-OWNCLOUD-storage.txt` with a link to the related issue. -Every scenario that does not work in OCIS with "ocis" storage, is listed in `ocis/tests/acceptance/expected-failures-on-OCIS-storage.txt` with a link to the related issue. +Every scenario that does not work in OCIS with "owncloud" storage, is listed in `tests/acceptance/expected-failures-on-OWNCLOUD-storage.txt` with a link to the related issue. +Every scenario that does not work in OCIS with "ocis" storage, is listed in `tests/acceptance/expected-failures-on-OCIS-storage.txt` with a link to the related issue. Those scenarios are run in the ordinary acceptance test pipeline in CI. The scenarios that fail are checked against the expected failures. If there are any differences then the CI pipeline fails. -Similarly, scenarios that do not work in OCIS with EOS storage are listed in `ocis/tests/acceptance/expected-failures-on-EOS-storage.txt`. +Similarly, scenarios that do not work in OCIS with EOS storage are listed in `tests/acceptance/expected-failures-on-EOS-storage.txt`. Additionally, some issues have scenarios that demonstrate the current buggy behaviour in ocis(reva). -Those scenarios are in this ocis repository in `ocis/tests/acceptance/features/apiOcisSpecific`. +Those scenarios are in this ocis repository in `tests/acceptance/features/apiOcisSpecific`. Have a look into the [documentation](https://doc.owncloud.com/server/developer_manual/testing/acceptance-tests.html#writing-scenarios-for-bugs) to understand why we are writing those tests. If you want to work on a specific issue @@ -84,7 +84,7 @@ If you want to work on a specific issue } } -2. locally run each of the tests marked with that issue in the expected failures file. This must be run inside the `./ocis` directory. +2. locally run each of the tests marked with that issue in the expected failures file. E.g.: ```