Issue 13954: Add regrtest option to record test results to a file (original) (raw)

Issue13954

Created on 2012-02-06 20:35 by brett.cannon, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg152771 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2012-02-06 20:35
The idea is that if a test succeeded then it is written to a file commented out(including skipped tests w/ the appropriate comment), and if a test failed then it is left uncommented. This way the failing tests can simply be passed to --fromfile for easy repeatability. This becomes especially handy when randomizing test order and there is some dependency on a previously run test as you can begin to uncomment tests until you find the trigger. This can also be used with some other new flag which lists which tests to skip (i.e. the inverse of --fromfile). This is helpful when you don't want to run tests in some branch when you know they are failing in the default branch already and you are not trying to fix them.
msg221809 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-28 18:27
@Brett I assume that you'd want to follow up on this.
History
Date User Action Args
2022-04-11 14:57:26 admin set github: 58162
2015-10-02 21:23:34 vstinner set status: open -> closedresolution: out of date
2014-06-28 18:27:42 BreamoreBoy set versions: + Python 3.5, - Python 3.3nosy: + BreamoreBoymessages: + type: enhancement
2012-02-06 20:58:40 tshepang set nosy: + tshepang
2012-02-06 20:35:12 brett.cannon create