[issue24845] IDLE functional/integration testing

2020-10-14 Thread Tal Einat
Change by Tal Einat : -- nosy: +taleinat nosy_count: 4.0 -> 5.0 pull_requests: +21677 pull_request: https://github.com/python/cpython/pull/22682 ___ Python tracker ___

[issue24845] IDLE functional/integration testing

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with this proposal, and with writing complete unittests, is that event_generate seems to be badly broken. I have spent hours doing experiments that mostly fail. I have read Stackoverflow questions and there seems to be no dependable rule for succ

[issue24845] IDLE functional/integration testing

2017-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: To clarify the 'tk introspection' I did not like was asking a widget for its children, getting a list of tk ids, and then testing the widgets by id. I prefer keeping and and directly using a python reference. I was not referring querying a widget for its con

[issue24845] IDLE functional/integration testing

2017-07-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: A different take on the proposal: A functional integration test for IDLE should open IDLE, rename .idlerc, open a new file, insert some text, and, for instance, at some point open the options dialog for testing. As part this, the font face change would simula

[issue24845] IDLE functional/integration testing

2017-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have accepted what I think is the core idea -- testing functional pathways starting with user actions instead or in addition to pure unit tests. For instance, test_configdialog.GeneralTest (newly revised in PR 2612) invokes buttons and inserts entries. Th

[issue24845] IDLE functional/integration testing

2015-08-11 Thread Mark Roseman
Mark Roseman added the comment: I've attached functionaltests.patch which provides a starting point, using Tk introspection and event generation to exercise the running application. The heart of it is the (very much in progress) TkTestCase class which provides a bunch of Tkinter-specific utili

[issue24845] IDLE functional/integration testing

2015-08-11 Thread Mark Roseman
Changes by Mark Roseman : -- components: +IDLE keywords: +patch Added file: http://bugs.python.org/file40164/functionaltests.patch ___ Python tracker ___

[issue24845] IDLE functional/integration testing

2015-08-11 Thread Mark Roseman
New submission from Mark Roseman: This is a placeholder issue for adding automated functional/integration tests to complement the existing unit tests. -- messages: 248428 nosy: kbk, markroseman, roger.serwy, terry.reedy priority: normal severity: normal status: open title: IDLE function