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

Switch Nosetests to Pytest (+ pytest-cov) #167

Closed
dennissiemensma opened this issue Nov 27, 2016 · 2 comments
Closed

Switch Nosetests to Pytest (+ pytest-cov) #167

dennissiemensma opened this issue Nov 27, 2016 · 2 comments
Assignees
Milestone

Comments

@dennissiemensma
Copy link
Member

I've just helped adding code coverage tests for another project: https://github.com/GerbenAaltink/slack-quote/pull/10

I found the pytest library very helpful, combined with pytest-django and pytest-cov. It also prevented me from ruining the manage.py with testing code, due to a bug in Nosetests.

@dennissiemensma dennissiemensma added this to the 1.5 milestone Nov 27, 2016
@dennissiemensma dennissiemensma self-assigned this Nov 28, 2016
@dennissiemensma
Copy link
Member Author

After many failed builds I found that Travis was nagging about an old version it had of the pytest dependency. Now it's forced to install a newer one and it seems to work well.

I also removed my hack in manage.py required for nosetests.

@dennissiemensma
Copy link
Member Author

Merged to development

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

No branches or pull requests

1 participant