Skip to main content

A timer plugin for nosetests

Project description

A timer plugin for nosetests (how much time does every test takes?)

(based on this gist from @mahmoudimus)

Install

pip install nose-timer

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nose-timer-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file nose-timer-0.1.2.tar.gz.

File metadata

  • Download URL: nose-timer-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nose-timer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a7c9e6fa3c23ab00ca542e49f85b4bf860c26229d0c49d93bf219d91876333f6
MD5 d12e0ae8cfa5d6279bb205616502fe4d
BLAKE2b-256 9d598a16368a75bab585be1210bf37f4aec7c1ac0c27cae7a14a03bff069560f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page