New submission from Terry J. Reedy:

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.

----------
messages: 218306
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Idle: test startup scripts.
type: enhancement
versions: Python 3.4, Python 3.5

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

Reply via email to