Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic tests #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add basic tests #13

wants to merge 5 commits into from

Conversation

Flimm
Copy link
Contributor

@Flimm Flimm commented Dec 22, 2016

This adds a file runtests.py which can be used to run the tests. Right now, it simply imports all the files to check for basic errors, but it could be expanded in future.

tox.ini was added so that you can run tox to run the tests against different Python and Django versions automatically.

.travis.yml was added so that travis-ci.org would run the tests automatically. You can do cool things like add a badge the README too. It's very easy to set up travis-ci.org to do this, I've done it for my fork, and it could be done very easily for hzdg.

Currently the tests fail because of a couple of bugs in the code.

Now just run `tox` to run the tests against different versions of Python
and Django.
For integration with travis-ci.org
This is so that a fully featured terminal is not required merely for an
import, allowing the tests to pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant