summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2017-10-15 01:31:14 (GMT)
committerGitHub <noreply@github.com>2017-10-15 01:31:14 (GMT)
commit620f70eed615efde35517d7ae86354de3b2a0d03 (patch)
tree52c8c9d04c6e3a0317e7b287697001f7c9c04375 /Lib
parent8c26a34f93db7ae96b42bcce6b557437436c7721 (diff)
downloadcpython-620f70eed615efde35517d7ae86354de3b2a0d03.zip
cpython-620f70eed615efde35517d7ae86354de3b2a0d03.tar.gz
cpython-620f70eed615efde35517d7ae86354de3b2a0d03.tar.bz2
bpo-25588: Document autotest in idle_test/README.txt. (#4000)
Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/idle_test/README.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/README.txt b/Lib/idlelib/idle_test/README.txt
index c580fb9..5f3678f 100644
--- a/Lib/idlelib/idle_test/README.txt
+++ b/Lib/idlelib/idle_test/README.txt
@@ -144,9 +144,18 @@ green. Idle tests must not disturb the environment in a way that makes
other tests fail (issue 18081).
To run an individual Testcase or test method, extend the dotted name
-given to unittest on the command line.
+given to unittest on the command line or use the test -m option. The
+latter allows use of other regrtest options. When using the latter,
+all components of the pattern must be present, but any can be replaced
+by '*'.
python -m unittest -v idlelib.idle_test.test_xyz.Test_case.test_meth
+python -m test -m idlelib.idle_test.text_xyz.Test_case.test_meth test_idle
+
+The test suite can be run in an IDLE user process from Shell.
+>>> import test.autotest # Issue 25588, 2017/10/13, 3.6.4, 3.7.0a2.
+There are currently failures not usually present, and this does not
+work when run from the editor.
4. Human-mediated Tests