[New-bugs-announce] [issue33855] IDLE: Minimally test every non-startup module.

Terry J. Reedy report at bugs.python.org
Thu Jun 14 03:13:13 EDT 2018


New submission from Terry J. Reedy <tjreedy at udel.edu>:

For module in idlelib modules:
    Create test_module from new template.py.
    Add 'module' to docstring and import.
    Check other minimal imports.
    Create instance of each class, with requires('gui') if needed.
    Add initial coverage of this test.

I am also reviewing existing tests.

PR initially adds template, 1 new file, and edits 3 others.  Needs blurb.   I will add more, but will likely break this up into multiple PRs.  This should, of course, been done years ago.

Reviews welcome, non-Windows test would be good.  (Tal, what do you have?)

----------
assignee: terry.reedy
components: IDLE
messages: 319501
nosy: cheryl.sabella, taleinat, terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: Minimally test every non-startup module.
type: behavior
versions: Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33855>
_______________________________________


More information about the New-bugs-announce mailing list