unittest: display time used by each test case

pprokop · GitHub

BPO

4080

Nosy

@rhettinger

,

@giampaolo

,

@ezio-melotti

,

@merwok

,

@voidspace

PRs

bpo-4080: unittest durations #12271

Files

pyunit_time.patch

: display time of each unit test - patch

unittest_runTime.patch

: test case run time measure patch

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

Show more detailsGitHub fields:

assignee=Noneclosed_at=Nonecreated_at=<Date2008-10-08.20:28:15.274>labels= ['tests', 'type-feature', 'library', '3.9'] title='unittest: display time used by each test case'updated_at=<Date2020-02-16.12:49:33.700>user='https://bugs.python.org/pprokop'bugs.python.org fields:

activity=<Date2020-02-16.12:49:33.700>actor='giampaolo.rodola'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Library (Lib)', 'Tests'] creation=<Date2008-10-08.20:28:15.274>creator='pprokop'dependencies= [] files= ['11751', '15332'] hgrepos= [] issue_num=4080keywords= ['patch'] message_count=17.0messages= ['74545', '87989', '95253', '109448', '110692', '110800', '110883', '154650', '154678', '154687', '154769', '154771', '154776', '155721', '176157', '337648', '362067'] nosy_count=8.0nosy_names= ['rhettinger', 'techtonik', 'giampaolo.rodola', 'ezio.melotti', 'eric.araujo', 'pprokop', 'michael.foord', 'piotr.dobrogost'] pr_nums= ['12271'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='enhancement'url='https://bugs.python.org/issue4080'versions= ['Python 3.9']Linked PRs

gh-48330: assert warning is emitted on unittest.TestResult with no addDuration #103309

gh-48330: address review comments to PR-12271 #103209