Skip to content

Commit

Permalink
adds selenium and cli pytest marks
Browse files Browse the repository at this point in the history
  • Loading branch information
Oege Dijk committed May 9, 2022
1 parent c323497 commit 5a120e5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,18 @@ and on OSX allow it to be run with `$ xattr -d com.apple.quarantine /usr/local/b

The tests should now run in the base directory with

`$ pytest .`
`$ pytest .`

### Skipping selenium and cli test

If you would like to skip the abovementioned selenium based integration tests, you can skip all tests marked
(i.e. labeled with pytest.mark) with `selenium` by running e.g.:

```sh
$ pytest . -m "not selenium"
```

for also skipping all cli tests, run

```sh
$ pytest . -m "not selenium and not cli"

0 comments on commit 5a120e5

Please sign in to comment.