[TIP] tests speed

Chris Jerdonek chris.jerdonek at gmail.com
Wed Feb 13 09:54:28 PST 2013

On Wed, Feb 13, 2013 at 5:40 AM, andrea crotti
<andrea.crotti.0 at gmail.com> wrote:
> I'm trying to make sure that all my tests run as fast as possible, and
> they actually do:
> Ran 44 tests in 0.011s

Here is where unittest's default TextTestRunner measures the time
(which is after test discovery/loading/etc):


I don't know whether nose uses a custom test runner that measures
things differently.


> But the problem is that the actual time they take to run is much different:
> OK
> real    0m12.105s
> user    0m11.873s
> sys     0m0.170s
> where are these 12 seconds being lost then? (using nose)
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

More information about the testing-in-python mailing list