Author terry.reedy
Recipients terry.reedy
Date 2014-05-12.00:32:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399854732.22.0.268177430342.issue21473@psf.upfronthosting.co.za>
In-reply-to
Content
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
2014-05-12 00:32:12terry.reedysetrecipients: + terry.reedy
2014-05-12 00:32:12terry.reedysetmessageid: <1399854732.22.0.268177430342.issue21473@psf.upfronthosting.co.za>
2014-05-12 00:32:12terry.reedylinkissue21473 messages
2014-05-12 00:32:10terry.reedycreate