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

allow and/or document how to run a single test #297

Closed
cjerdonek opened this issue Oct 31, 2017 · 4 comments
Closed

allow and/or document how to run a single test #297

cjerdonek opened this issue Oct 31, 2017 · 4 comments

Comments

@cjerdonek
Copy link
Collaborator

cjerdonek commented Oct 31, 2017

I could be doing something wrong, but I wasn't able to run a single test using tox.

After searching online, when I changed a line in tox.ini to be the following, I was able to do it:

python -m unittest {posargs}

Was I missing something to be able to do this without altering tox.ini?

@aaugustin
Copy link
Member

I don't think you missed anything.

Feel free to commit that change!

@aaugustin
Copy link
Member

aaugustin commented Oct 31, 2017

(I usually run isolated tests with python -m unittest .... I never tried tox ....)

@cjerdonek
Copy link
Collaborator Author

That's a good point. I might have done that in the past but since forgot.

Do you have thoughts on where to put tips on how to run tests for now? A code comment in the tox.ini file? I don't think there's a contributing file yet.

@aaugustin
Copy link
Member

There's docs/contributing.rst, which could use some details...

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