Skip to content

Commit

Permalink
Readme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JukkaL committed Oct 11, 2015
1 parent cb9b85c commit e22b0a7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,18 @@ To run all tests, run the script `runtests.py` in the mypy repository:

Note that some tests will be disabled for older python versions.

This will run all tests, including integration and regression tests,
and will type check mypy and verify that all stubs are valid. You can also
run unit tests only, which run pretty quickly:

$ ./runtests.py unit-test

You can run a subset of test suites by passing postive or negative filters:

$ ./runtests.py lex parse -x lint -x stub

If you want to run individual unit tests, you can run myunit directly, or
pass inferior arguments via -a:
If you want to run individual unit tests, you can run `myunit` directly, or
pass inferior arguments via `-a`:

$ scripts/myunit -m mypy.test.testlex -v '*backslash*'
$ ./runtests.py mypy.test.testlex -a -v -a '*backslash*'
Expand Down

0 comments on commit e22b0a7

Please sign in to comment.