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

Investigate benefits of using Nose for testing #192

Closed
gsarma opened this issue Jul 8, 2015 · 7 comments
Closed

Investigate benefits of using Nose for testing #192

gsarma opened this issue Jul 8, 2015 · 7 comments
Assignees

Comments

@gsarma
Copy link
Member

gsarma commented Jul 8, 2015

With @travs:
General discussion about merits of moving to Nose. @cheelee do you have any thoughts?

Possible options:

  1. Migrate existing code base over to Nose (might not be worth the investment).
  2. Move to Nose for new tests

Relevant issues:
#190- moving to Nose might make it easier to run tests individually.

See also #184.

@cheelee
Copy link
Contributor

cheelee commented Jul 9, 2015

I'm not familiar with Nose, but I'll check it out. Adding a quick link to give some context for others if they are interested:

http://pythontesting.net/framework/nose/nose-introduction/

@travs travs added this to the Generic testing milestone milestone Jul 9, 2015
@travs
Copy link

travs commented Jul 9, 2015

With @gsarma:
It seems more reasonable to adopt nose going forward, and have backward-compatibility to allow us to write new tests in nose (reaping whatever benefits Nose may give), but not break our old testing scheme.

@gsarma
Copy link
Member Author

gsarma commented Jul 10, 2015

@travs and I are looking into using coveralls for tracking test coverage. It looks tricky to actually get working, and this person suggests that using nose helps the process:

http://levibostian.com/python-code-coverage-and-coveralls-io/

@gsarma
Copy link
Member Author

gsarma commented Jul 10, 2015

Also relevant:

https://sourcegraph.com

@travs
Copy link

travs commented Jul 21, 2015

@kevcmk has commented on difficulties in configuring Nose, and offers that py.test may be a better option. I just suggested Nose as it's what I've used in the past, but anything that is more developer-friendly is good by me

@slarson
Copy link
Member

slarson commented Jul 22, 2015

Based on @kevcmk's analysis, I'd suggest we close this and move ahead with PyTest. Cool?

@gsarma
Copy link
Member Author

gsarma commented Jul 23, 2015

I'm fine with closing it. I've been reading a blog on Python unit testing, and he says some contradictory things about PyTest versus nose. I'll keep learning about both and it doesn't seem like we will be closing off options for ourself in any case for the future.

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

5 participants