Show More
@@ -72,3 +72,24 b' particularly for PRs that affect `IPython.parallel` or Windows.' | |||||
72 |
|
72 | |||
73 | For more detailed information, see our [GitHub Workflow](https://github.com/ipython/ipython/wiki/Dev:-GitHub-workflow). |
|
73 | For more detailed information, see our [GitHub Workflow](https://github.com/ipython/ipython/wiki/Dev:-GitHub-workflow). | |
74 |
|
74 | |||
|
75 | ## Running Tests | |||
|
76 | ||||
|
77 | All the tests can by running | |||
|
78 | ```shell | |||
|
79 | iptest | |||
|
80 | ``` | |||
|
81 | ||||
|
82 | All the tests for a single module (for example **test_alias**) can be run by using the fully qualified path to the module. | |||
|
83 | ```shell | |||
|
84 | iptest IPython.core.tests.test_alias | |||
|
85 | ``` | |||
|
86 | ||||
|
87 | Only a single test (for example **test_alias_lifecycle**) within a single file can be run by adding the specific test after a `:` at the end: | |||
|
88 | ```shell | |||
|
89 | iptest IPython.core.tests.test_alias:test_alias_lifecycle | |||
|
90 | ``` | |||
|
91 | ||||
|
92 | For convenience, the full path to a file can often be used instead of the module path on unix systems. For example we can run all the tests by using | |||
|
93 | ```shell | |||
|
94 | iptest IPython/core/tests/test_alial.py | |||
|
95 | ``` |
General Comments 0
You need to be logged in to leave comments.
Login now