Skip to content

Conversation

willkg
Copy link
Contributor

@willkg willkg commented Feb 23, 2017

This fixes tox.ini so that you can pass arguments to py.test.

For example:

    tox -e py34-base html5lib/tests/test_serializer.py

will now only run the serializer tests.

    tox -e py34-base -- -vv

will run with super verbose mode and tons of data will go flying by in your
terminal.

@willkg
Copy link
Contributor Author

willkg commented Feb 23, 2017

This doesn't affect travis, but it does make development iterations much faster.

Another fix we can do in the tox file is to move the flake8 pass to a separate "environment" so that it runs once in a tox run and not once for every environment.

Does that sound helpful? If so, I can make that change and tack it on to this one.

willkg and others added 2 commits February 23, 2017 13:33
This fixes tox.ini so that you can pass arguments to py.test.

For example:

    tox -e py34-base html5lib/tests/test_serializer.py

will now only run the serializer tests.

    tox -e py34-base -- -vv

will run with super verbose mode and tons of data will go flying by in your
terminal.
@willkg willkg requested a review from gsnedders September 1, 2017 16:44
@willkg
Copy link
Contributor Author

willkg commented Sep 1, 2017

This is super minor. It's just an ergonomic issue related to development.

@jgraham jgraham merged commit 590d9a5 into html5lib:master Sep 1, 2017
@willkg willkg deleted the tox-fix branch December 4, 2017 14:03
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

Successfully merging this pull request may close these issues.

2 participants