diff --git a/docs/testing.md b/docs/testing.md index 3fbb6e7..567a71c 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -82,13 +82,13 @@ TEST_SERVER_URL=http://localhost:9140 \ TEST_EXTERNAL_USER_BACKENDS=true \ TEST_OCIS=true \ OCIS_REVA_DATA_ROOT=/var/tmp/reva/ \ -BEHAT_FILTER_TAGS='~@skipOnOcis' \ +BEHAT_FILTER_TAGS='~@skipOnOcis&&~@skipOnOcis-OC-Storage' \ SKELETON_DIR=apps/testing/data/apiSkeleton ``` Make sure to adjust the settings `TEST_SERVER_URL`,`OCIS_REVA_DATA_ROOT` and `SKELETON_DIR` according to your environment -This will run all tests that can work with LDAP and are not skipped on OCIS +This will run all tests that can work with LDAP, and are not skipped on OCIS, and are not skipped on OCIS on OC Storage. To run a single test add `BEHAT_FEATURE=` and specify the path to the feature file and an optional line number. For example: `BEHAT_FEATURE='tests/acceptance/features/apiWebdavUpload1/uploadFile.feature:12'` @@ -112,12 +112,12 @@ If you want to work on a specific issue TEST_EXTERNAL_USER_BACKENDS=true \ TEST_OCIS=true \ OCIS_REVA_DATA_ROOT=/var/tmp/reva/ \ - BEHAT_FILTER_TAGS='~@skipOnOcV10&&~@skipOnOcis-OC-Storage&&@issue-ocis-reva-122' + BEHAT_FILTER_TAGS='~@skipOnOcV10&&@issue-ocis-reva-122' ``` - Note that the `~@skipOnOcis` tag is replaced by `~@skipOnOcV10` and the issue tags `@issue-ocis-reva-122` and `~@skipOnOcis-OC-Storage` are added. + Note that the `~@skipOnOcis` and `~@skipOnOcis-OC-Storage` tags are replaced by `~@skipOnOcV10` and the issue tags `@issue-ocis-reva-122` is added. We want to run all tests that are skipped in CI because of this particular bug, but we don't want to run the tests - that demonstrate the current buggy behaviour. Also, we want to run only the scenarios that work on OC-Storage i.e the scenarios without the `@skipOnOcis-OC-Storage` tag. + that demonstrate the current buggy behaviour. 2. the tests will fail, try to understand how and why they are failing 3. fix the code