Skip to content

Fix runtests examples #2083

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

Merged
merged 1 commit into from
Nov 17, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/topics/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,31 +71,31 @@ To run the tests, clone the repository, and then:

Run using a more concise output style.

./runtests -q
./runtests.py -q

Run the tests using a more concise output style, no coverage, no flake8.

./runtests --fast
./runtests.py --fast

Don't run the flake8 code linting.

./runtests --nolint
./runtests.py --nolint

Only run the flake8 code linting, don't run the tests.

./runtests --lintonly
./runtests.py --lintonly

Run the tests for a given test case.

./runtests MyTestCase
./runtests.py MyTestCase

Run the tests for a given test method.

./runtests MyTestCase.test_this_method
./runtests.py MyTestCase.test_this_method

Shorter form to run the tests for a given test method.

./runtests test_this_method
./runtests.py test_this_method

Note: The test case and test method matching is fuzzy and will sometimes run other tests that contain a partial string match to the given command line input.

Expand Down