Issue 22860: unittest TestProgram hard to extend (original) (raw)
Issue22860
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.
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/67049
classification
Title: | unittest TestProgram hard to extend | ||
---|---|---|---|
Type: | enhancement | Stage: | |
Components: | Library (Lib) | Versions: | Python 3.5 |
process
Status: | open | Resolution: | |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | ezio.melotti, michael.foord, pitrou, rbcollins | |
Priority: | normal | Keywords: |
Created on 2014-11-13 10:29 by rbcollins, last changed 2022-04-11 14:58 by admin.
Messages (3) | ||
---|---|---|
msg231103 - (view) | Author: Robert Collins (rbcollins) * ![]() |
Date: 2014-11-13 10:29 |
Some users of TestProgram would like to add options (e.g. testtools.run adds --list and --load-list) but there isn't a clean point to add them without bulk copying the implementation around. We likely need some extra extension points as well - one reasonable test would be to make sure that testtools.run's TestProgram can be made much smaller by whatever patch fixes this bug. | ||
msg231107 - (view) | Author: Antoine Pitrou (pitrou) * ![]() |
Date: 2014-11-13 12:50 |
For another example use case: https://github.com/numba/numba/blob/master/numba/tests/__init__.py#L22 | ||
msg231442 - (view) | Author: Michael Foord (michael.foord) * ![]() |
Date: 2014-11-20 17:01 |
TestProgram is an abomination. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:10 | admin | set | github: 67049 |
2014-11-20 17:01:40 | michael.foord | set | messages: + |
2014-11-14 21:23:08 | terry.reedy | set | nosy: + ezio.melotti, michael.foord |
2014-11-13 12:50:56 | pitrou | set | messages: + |
2014-11-13 12:49:56 | pitrou | set | nosy: + pitrou |
2014-11-13 10:29:51 | rbcollins | create |