homepage

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.

classification
Title: Idle: test startup scripts.
Type: enhancement Stage: needs patch
Components: IDLE Versions: Python 3.10
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 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 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
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

AltStyle によって変換されたページ (->オリジナル) /