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

How to run test code #25

Closed
t2y opened this issue Feb 8, 2016 · 2 comments
Closed

How to run test code #25

t2y opened this issue Feb 8, 2016 · 2 comments

Comments

@t2y
Copy link

t2y commented Feb 8, 2016

I tried to run test code in tests directory, but I couldn't. Sorry, I'm not sure about unittest module since I usually use pytest as a tset tool.

I tried like this. Could you tell me how to run it?

$ python setup.py test
$ python -m unittest discover
$ python -m unittest tests.test_git_changelog
@OddBloke
Copy link
Owner

This project uses nose, so you run the tests like this:

$ nosetests
.............
----------------------------------------------------------------------
Ran 13 tests in 0.588s

OK

@t2y
Copy link
Author

t2y commented Feb 16, 2016

I did it. Thanks!

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