Skip to content

Commit

Permalink
Document how to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartek committed Apr 12, 2015
1 parent 1255dce commit 4d56ea8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,21 @@ Dependencies
The only dependency needed to use the client is requests_.

.. _requests: http://python-requests.org

Testing
-------

Running tests is pretty simple. Just install the requirements and use nose.

pip install -r requirements-testing.txt

Once installed, test unit tests:

nosetests -A integration!=1

Otherwise, you'll want to include a GAPI Application Key so the integration
tests can successfully hit the API.

export GAPI_APPLICATION_KEY=MY_SECRET_KEY; nosetests

Thanks for helping!

0 comments on commit 4d56ea8

Please sign in to comment.