Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python-nose-timer
etiona  ]
[ Source: python-nose-timer  ]

Package: python-nose-timer (0.3.0-2)

timer plugin for nosetests - Python 2.x

A timer plugin for nosetests that answers the question: how much time does every test take? Run nosetests with the --with-timer flag, and you will see a list of the tests and the time spent by each one (in seconds):

 myapp.tests.ABigTestCase.test_the_world_is_running: 56.0010s
 myapp.tests.ABigTestCase.test_the_rest_of_the_galaxy_is_running: 2356.0010s

It is also possible to list the 10 slowest tests this way:

 nosetests --with-timer --timer-top-n 10

This package contains the Python 2.x module.

Other Packages Related to python-nose-timer

  • depends
  • recommends
  • suggests
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-nose
    test discovery and running of Python's unittest
  • sug: python-nose-timer-doc
    Package not available

Download python-nose-timer

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.6 kB32 kB [list of files]