diff --git a/docs/ocis/development/testing.md b/docs/ocis/development/testing.md index 205befe1c75..908155e2724 100644 --- a/docs/ocis/development/testing.md +++ b/docs/ocis/development/testing.md @@ -117,6 +117,7 @@ Then run the api acceptance tests with the following command from the root of th make test-acceptance-api \ TEST_SERVER_URL=https://localhost:9200 \ TEST_OCIS=true \ +STORAGE_DRIVER=OCIS \ SKELETON_DIR=apps/testing/data/apiSkeleton \ BEHAT_FILTER_TAGS='~@notToImplementOnOCIS&&~@toImplementOnOCIS' ``` @@ -127,6 +128,8 @@ This will run all tests that are relevant to oCIS. To run a single test add `BEHAT_FEATURE=` +To run tests with a different storage driver set `STORAGE_DRIVER` to the correct value. It can be set to `OCIS` or `OWNCLOUD` and uses `OWNCLOUD` as the default value. + ### 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. @@ -157,6 +160,7 @@ If you want to work on a specific issue make test-acceptance-api \ TEST_SERVER_URL=https://localhost:9200 \ TEST_OCIS=true \ + STORAGE_DRIVER=OCIS \ BEHAT_FEATURE='tests/acceptance/features/apiComments/comments.feature:123' ```