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

Terry J. Reedy report at bugs.python.org
Sat Jun 1 01:50:03 CEST 2013


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 about it more, unittest does not not add much to this type of test. If dialogs maps dialog to test information used by h_test_dialog, then a first draft of testing all (there are 6 that I know of, 3 with display tests) could amount to
def h_test_dialogs():
  for dialog in dialogs:
    h_test_dialog(dialog)
New entries to dialogs would be 'discovered' as added.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18104>
_______________________________________


More information about the Python-bugs-list mailing list