[issue4080] unittest: display time used by each test case

2020-02-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I updated the PR for Python 3.9. I think it's ready to be merged. Can someone involved in unittest take a look at it? -- ___ Python tracker

[issue4080] unittest: display time used by each test case

2020-02-15 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4080] unittest: display time used by each test case

2019-03-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Hello. This is something I needed so I decided to implement it by taking inspiration from pytest's --durations=N argument, which basically does the same (except that it uses 0.XX precision instead of 0.XXX). PR at:

[issue4080] unittest: display time used by each test case

2019-03-10 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- pull_requests: +12254 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4080] unittest: display time used by each test case

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4080 ___ ___

[issue4080] unittest: display time used by each test case

2013-09-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4080 ___ ___

[issue4080] unittest: display time used by each test case

2012-11-23 Thread anatoly techtonik
anatoly techtonik added the comment: pyunit_time.patch is invalid - missing space on the last line. -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4080 ___

[issue4080] unittest: display time used by each test case

2012-03-13 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I'm working on a modified version of the patch that is switched on with a command line option --timer=0.1 (or similar). Only tests that take longer than the threshold have the time printed. --timer=0 is valid, but it still only works

[issue4080] unittest: display time used by each test case

2012-03-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Also, when you’re tracking down slow tests, you may want to run your tests with the time needed by each test file and then each test method. Nite that I don’t know of a way to have unittest print each test file to stdout now (i.e. a level of

[issue4080] unittest: display time used by each test case

2012-03-02 Thread Pawel Prokop
Pawel Prokop pa...@uek.krakow.pl added the comment: I agree with Ezio, this feature should have an option to enable/disable. Anyway, I use it in different way. Since 2008, I've used this feature for performance comparision, whether some implementation changes in application code did not slow