Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idle: test startup scripts. #65672

Open
terryjreedy opened this issue May 12, 2014 · 1 comment
Open

Idle: test startup scripts. #65672

terryjreedy opened this issue May 12, 2014 · 1 comment
Assignees
Labels
3.10 only security fixes tests Tests in the Lib/test dir topic-IDLE type-feature A feature request or enhancement

Comments

@terryjreedy
Copy link
Member

BPO 21473
Nosy @terryjreedy

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/terryjreedy'
closed_at = None
created_at = <Date 2014-05-12.00:32:12.083>
labels = ['expert-IDLE', 'type-feature', '3.10']
title = 'Idle: test startup scripts.'
updated_at = <Date 2020-06-07.20:48:30.324>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2020-06-07.20:48:30.324>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2014-05-12.00:32:12.083>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 21473
keywords = []
message_count = 1.0
messages = ['218306']
nosy_count = 1.0
nosy_names = ['terry.reedy']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue21473'
versions = ['Python 3.10']

@terryjreedy
Copy link
Member Author

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.

@terryjreedy terryjreedy added the type-feature A feature request or enhancement label May 12, 2014
@terryjreedy terryjreedy self-assigned this Jun 19, 2017
@terryjreedy terryjreedy added 3.10 only security fixes and removed 3.7 (EOL) end of life labels Jun 7, 2020
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@AlexWaygood AlexWaygood added the tests Tests in the Lib/test dir label Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes tests Tests in the Lib/test dir topic-IDLE type-feature A feature request or enhancement
Projects
Status: No status
Development

No branches or pull requests

2 participants