classification
Title: Idle: test startup scripts.
Type: enhancement Stage: needs patch
Components: IDLE Versions: Python 3.7, Python 3.6
process
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 2017-06-19 23:38 by terry.reedy.

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 test.support.interactive_python for either direct use or as a model. It in turn uses test.script_helper.spawn_python and .kill_python. Also look at test_cmd_line_script.py 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.
History
Date User Action Args
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