[issue18104] Idle: make human-mediated GUI tests usable

2019-03-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18104] Idle: make human-mediated GUI tests usable

2014-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a6d51ccff54 by Terry Jan Reedy in branch '2.7': Issue #18104: revise docstrings, remove obsolete comments. http://hg.python.org/cpython/rev/0a6d51ccff54 New changeset 6d2982ff441f by Terry Jan Reedy in branch '3.4': Issue #18104: revise

[issue18104] Idle: make human-mediated GUI tests usable

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 460203eaf731 by Terry Jan Reedy in branch '2.7': Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin http://hg.python.org/cpython/rev/460203eaf731 New changeset 617656f7b538 by Terry Jan Reedy in branch '3.4': Issue

[issue18104] Idle: make human-mediated GUI tests usable

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset aea4f427902f by Terry Jan Reedy in branch '3.4': Issue #18104: News for 3.4 (which will not merge forward). http://hg.python.org/cpython/rev/aea4f427902f New changeset b7bc43e96041 by Terry Jan Reedy in branch 'default': #18104: null merge of 3.4

[issue18104] Idle: make human-mediated GUI tests usable

2014-05-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The revised patch, as pushed, will serve as a base for this portion of Saimadhav's GSOC project. #21477 proposes changes to htest itself. Adding tests from other modules will be dependencies of that issue. -- resolution: - fixed stage: patch review -

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: Removed file: http://bugs.python.org/file35096/18104-htest2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: Removed file: http://bugs.python.org/file35099/18104-htest3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Defective patches removed and replaced with one that includes current htest.py and should have proper (unix) line endings. -- Added file: http://bugs.python.org/file35116/18104-htest4.diff ___ Python tracker

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Here are my notes on modules that should probably be included in htest. Most have some end-of-module test now, many with errors. -- Added file: http://bugs.python.org/file35119/18104-htest.txt ___ Python tracker

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: The new patch adds a docstring with spec template, a second example, and a crude runall(). I am inclined to push this as a base for further patches -- at least one to improve runall and others to test more widget classes. These might be separate issues.

[issue18104] Idle: make human-mediated GUI tests usable

2014-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New patch. I refined the definition of the parameter for run() in the process of adding a test for EditorWindow.HelpDialog. This cannot be tested directly. This example is also a reminder that some files define more than one display widget. I should try

[issue18104] Idle: make human-mediated GUI tests usable

2014-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: I thought through my design criteria a bit, and in the process, decided on a specific concrete proposal to test. 1. It should be possible to run one test. It should easy to run (or not) the test (or tests) for a module when editing its file. It should be easy

[issue18104] Idle: make human-mediated GUI tests usable

2014-03-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: After correcting bugs in the 'explaining with code' posted before, and making a few other changes, the attached 3.3 diff works. The main substantive change is that I added a parameter to the class to move the tested dialog under the toplevel driver so the

[issue18104] Idle: make human-mediated GUI tests usable

2014-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Some follow-up after revising the test for GetCfgSectionNameDialog in configSectionNameDialog.py (#18130): 1. I am no longer concerned about automated discovery. Anyone adding a widget can just as easily add something to a master list as add a file to be

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-17 Thread R. Jayakrishnan
Changes by R. Jayakrishnan raaj...@gmail.com: -- nosy: +JayKrish ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___ ___ Python-bugs-list

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-03 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___ ___

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: Removed file: http://bugs.python.org/file30439/configSectionNameDialog.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___

[issue18104] Idle: make human-mediated GUI tests usable

2013-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I opened #18130 for an updated configSectionNameDialog.py patch. It also adds to idle_tests two files, mock_tk.py and test_config_name.py. The latter uses the former for gui-free automated tests of some of the dialog methods. I plan to commit in a couple of

[issue18104] Idle: make human-mediated GUI tests usable

2013-05-31 Thread Todd Rovito
Changes by Todd Rovito rovit...@gmail.com: -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18104 ___ ___ Python-bugs-list

[issue18104] Idle: make human-mediated GUI tests usable

2013-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I want is for the tests to be discovered when they should be and not when they should not ;-) -- without jumping through too many hoops. I probably once read 'recursing into subdirectories' but forgot. I like 'h_test...' for 'human test ...'. Thinking

[issue18104] Idle: make human-mediated GUI tests usable

2013-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: While improving the self-test for confixSectionNameDialog.py after fixing the error that stopped it from running, I discovered an error in the NameOk method: names were not really stripped before being tested. so duplicate section names were erroneously

[issue18104] Idle: make human-mediated GUI tests usable

2013-05-30 Thread Terry J. Reedy
New submission from Terry J. Reedy: 23 of the 62 idlelib/*.py files have an 'if __name__ ...' test that brings up a tkinter gui widget and waits for the human tester to do ... something. Problems: 0. They are a bit of a nuisance to run individually: either type python -m

[issue18104] Idle: make human-mediated GUI tests usable

2013-05-30 Thread R. David Murray
R. David Murray added the comment: Since you *don't* want these to be autodiscovered by testing frameworks, perhaps h_test_.py would be a better naming scheme. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org