homepage

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.

classification
Title: Add regrtest option to record test results to a file
Type: enhancement Stage: needs patch
Components: Tests Versions: Python 3.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, brett.cannon, tshepang
Priority: normal Keywords:

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:26adminsetgithub: 58162
2015年10月02日 21:23:34vstinnersetstatus: open -> closed
resolution: out of date
2014年06月28日 18:27:42BreamoreBoysetversions: + Python 3.5, - Python 3.3
nosy: + BreamoreBoy

messages: + msg221809

type: enhancement
2012年02月06日 20:58:40tshepangsetnosy: + tshepang
2012年02月06日 20:35:12brett.cannoncreate

AltStyle によって変換されたページ (->オリジナル) /