Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jasson99 committed Jul 7, 2020
1 parent 3312edf commit 4da2545
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<feature file>` and specify the path to the feature file and an optional line number. For example: `BEHAT_FEATURE='tests/acceptance/features/apiWebdavUpload1/uploadFile.feature:12'`

Expand All @@ -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
Expand Down

0 comments on commit 4da2545

Please sign in to comment.