Skip to content

Commit

Permalink
Merge pull request #141 from dimagi/cz/test-docs
Browse files Browse the repository at this point in the history
add note on how to run individual tests
  • Loading branch information
millerdev committed May 27, 2020
2 parents 6d4e728 + 5de9b64 commit 4a6c5ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,13 @@ The following command will run the entire test suite (requires DB environment va
$ py.test
```

To run an individual test class or method you can run, e.g.:

```
$ py.test -k "TestExcelQuery"
$ py.test -k "test_get_queries_from_excel"
```

To exclude the database tests you can run:

```
Expand Down

0 comments on commit 4a6c5ec

Please sign in to comment.