Skip to content

pytest instead of unittest #30

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

Open
lunemec opened this issue Apr 29, 2015 · 3 comments
Open

pytest instead of unittest #30

lunemec opened this issue Apr 29, 2015 · 3 comments

Comments

@lunemec
Copy link
Contributor

lunemec commented Apr 29, 2015

I suggest py.test instead of unittest for testing. I've been using pytest for large project for about half a year now and it is much better. And there is still time to switch with only one test :)

@jonathanslenders
Copy link
Member

Yes, thanks for the suggestion. py.test is really great.
There are no tests yet in pyvim. But I think I'll use that indeed. (Today I used it in another project.)

@lunemec
Copy link
Contributor Author

lunemec commented Apr 30, 2015

Also, when there are some problems with certain versions of python and virtualenv, this tool comes in handy: https://testrun.org/tox/latest/

It creates virtualenv for each said version and runs tests with given version of python inside that venv. Very nice for version specific problems.

@lunemec
Copy link
Contributor Author

lunemec commented May 1, 2015

I changed pytest and fixed tests. Added tox:
#35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants