Terry J. Reedy added the comment:

Current htest issues from this and two other issues, notes, and running htests 
with htest.py.

(Default master window placement is ok.  Can move.)

h1. At least one test window overlaps the test window. Others are not centered 
(y-position). Fix by passing _htest and changing geometry accordingly.  Use 
f-strings.  Develop formula for centering?

(Test messages "might use editing" is too vague.  Ditto for EditorWindow 'might 
be split'.)

h2. All widgets should be displayed.  A couple of htests test behavior in 
widgets otherwise displayed, and *these* should be unittested if possible.

h3. Force focus to opened widget window.  Probably still needed.

h4. Putting imports only needed by htest functions in the function is a good 
idea.  Introducing a regression by mistake is not.  Do this when edit after 
thorough tests.

h5. # htest # is present on all current htest functions. Check that is 
documented, including .coveragerc entry.

h6. What is left from #22629 after patch applied?

h7. #27636: incapsulate common features in classes defined in htest.py.

3 Specific TODOs in htest.py:

h8. Improve message for dyn_option_menu.

h9. Improve wrapper for EditorWindow.

h10. Update GetKeysDialog test now that #21519 closed.

h11. My note: Get keys dialog prints blank line to console, something prints 
'None'. Check when run all tests.

h12. Test window should show version and module (from __file__).  Make part of 
#27636.

----------
dependencies: +Idle: update htest.py and htests, Refactor IDLE htest
title: Idle: polish htests -> Idle: Improve htests

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21624>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to