[docs-only] update testing docs to include STORAGE_DRIVER env var
This commit is contained in:
@@ -117,6 +117,7 @@ Then run the api acceptance tests with the following command from the root of th
|
|||||||
make test-acceptance-api \
|
make test-acceptance-api \
|
||||||
TEST_SERVER_URL=https://localhost:9200 \
|
TEST_SERVER_URL=https://localhost:9200 \
|
||||||
TEST_OCIS=true \
|
TEST_OCIS=true \
|
||||||
|
STORAGE_DRIVER=OCIS \
|
||||||
SKELETON_DIR=apps/testing/data/apiSkeleton \
|
SKELETON_DIR=apps/testing/data/apiSkeleton \
|
||||||
BEHAT_FILTER_TAGS='~@notToImplementOnOCIS&&~@toImplementOnOCIS'
|
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=<feature file>`
|
To run a single test add `BEHAT_FEATURE=<feature file>`
|
||||||
|
|
||||||
|
To run tests with different storage driver set `STORAGE_DRIVER` to correct value. It can be set to `OCIS` or `OWNCLOUD` and uses `OWNCLOUD` as default value.
|
||||||
|
|
||||||
### use existing tests for BDD
|
### 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.
|
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 \
|
make test-acceptance-api \
|
||||||
TEST_SERVER_URL=https://localhost:9200 \
|
TEST_SERVER_URL=https://localhost:9200 \
|
||||||
TEST_OCIS=true \
|
TEST_OCIS=true \
|
||||||
|
STORAGE_DRIVER=OCIS \
|
||||||
BEHAT_FEATURE='tests/acceptance/features/apiComments/comments.feature:123'
|
BEHAT_FEATURE='tests/acceptance/features/apiComments/comments.feature:123'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user