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.0010 myapp.tests.ABigTestCase.test_the_rest_of_the_galaxy_is_running: 2356.0010

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.tar.gz (3.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for nose-timer-0.1.tar.gz
Algorithm Hash digest
SHA256 9ea56d6de54968f29ca78e5ed40bb3b9246a55d30ef2c7b3270cf35fd1d10538
MD5 cf984b19899342df851e1b84dbe613da
BLAKE2b-256 ba940d788253be6af6f34ac814f7c98eafbe3c3c5a52f234601b1ad018d75781

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