This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Idle: test startup scripts.
Type: enhancement Stage: needs patch
Components: IDLE Versions: Python 3.10
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: terry.reedy
Priority: normal Keywords:

Created on 2014-05-12 00:32 by terry.reedy, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg218306 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2014-05-12 00:32
Add test_idle/test_startup to test that Idle starts without obvious error with any of idlelib/idle.(bat, py, pyw). Test should presumably use subprocess. Look at for either direct use or as a model. It in turn uses test.script_helper.spawn_python and .kill_python. Also look at for models. A simple sanity check would be requires('gui') test as it should bring (and exit) an actually idle window.

Beyond testing startup with no options, there are multiple options and combinations of options. Some of this could be automated easier if option decoding were separated from acting on the options. If necessary, some things could be added as a non-automated human test.
Date User Action Args
2022-04-11 14:58:03adminsetgithub: 65672
2020-06-07 20:48:30terry.reedysetversions: + Python 3.10, - Python 3.6, Python 3.7
2017-06-19 23:38:29terry.reedysetassignee: terry.reedy
components: + IDLE
versions: + Python 3.6, Python 3.7, - Python 3.4, Python 3.5
2014-05-12 00:32:12terry.reedycreate