Skip to content

Commit

Permalink
Merge pull request #1199 from stellargo/resolve
Browse files Browse the repository at this point in the history
Contributing.md: Remove nose and add pytest documentation
  • Loading branch information
henrykironde committed Oct 16, 2018
2 parents 940506d + 849739c commit 4a08bdb
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,20 @@ branch of your fork and then submit a pull request.

## Running the tests

We use [nose](https://nose.readthedocs.org/en/latest/) for testing. To run the
We use [pytest](https://docs.pytest.org/en/latest/) for testing. To run the
tests first install nose using pip:

`pip install nose`
`pip install pytest`

Then from the root of the repository install the Retriever:

`python setup.py install`

and run the tests:

`nosetests`
`pytest`

You should see a bunch of output from the Retriever followed by something like:

```
.....................
----------------------------------------------------------------------
Ran 32 tests in 143.621s
OK
```
You should see a bunch of output from the Retriever showing the test results.

Tests for MySQL and PostgreSQL require properly configured database management
systems for testing.
Expand Down

0 comments on commit 4a08bdb

Please sign in to comment.