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

Nose is deprecated #2812

Closed
wiredfool opened this issue Oct 25, 2017 · 3 comments
Closed

Nose is deprecated #2812

wiredfool opened this issue Oct 25, 2017 · 3 comments

Comments

@wiredfool
Copy link
Member

wiredfool commented Oct 25, 2017

http://nose.readthedocs.io/en/latest/index.html

Nose is deprecated, and it has a couple of failure modes that are kind of annoying. We should look at possible replacements that handle our needs:

  • Parallel execution
  • coverage
  • unittest2 based
@hugovk
Copy link
Member

hugovk commented Oct 25, 2017

A couple of candidates, nose2 and pytest.

thing nose2 pytest
parallel execution yes yes
coverage yes yes
unittest2 based yes yes
monthly pip installs 49,942 1,878,740
GH stars 401 1,822
GH forks 94 484

By "unittest2 based", I assume you mean it can find and run tests written using the unittest module for Python 2.7 and later (unittest2 being the backport for 2.6 and earlier).

Our tests are all written in plain unittest, nose is only used as the runner, so it should be easy enough to switch to either.

@wiredfool
Copy link
Member Author

Unittest based implying that we can just use the existing tests without porting.

@hugovk hugovk mentioned this issue Oct 26, 2017
9 tasks
@hugovk
Copy link
Member

hugovk commented Dec 30, 2017

Fixed by #2911.

@hugovk hugovk closed this as completed Dec 30, 2017
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

2 participants