Socket
Socket
Sign inDemoInstall

nose2-test-timer

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nose2-test-timer

A timer plugin for nose2


Maintainers
1

Readme

nose2-test-timer

A timer plugin for nose2 to benchmark time that each unit test take

Ported from nose-timer. Functionality should be mostly but not yet entirely the same

Install

To install the latest development version from Git::

pip install git+https://github.com/kaichiachen/nose2-test-timer.git

Or to install the latest from source::

git clone https://github.com/kaichiachen/nose2-test-timer.git
cd nose2_test_timer
pip install .

You can also make a developer install if you plan on modifying the source frequently::

pip install -e .

Usage

example::

nose2 -v -s ./example --plugin=nose2_test_timer.plugin --with-timer --timer-json-file './result.json' --timer-color --timer-top-n 20

usage::

usage: nose2 [--with-timer] [--timer-top-n TIMER_TOP_N]
         [--timer-json-file TIMER_JSON_FILE] [--timer-ok TIMER_OK]
         [-W TIMER_WARNING] [--timer-color]
         [--timer-threshold TIMER_THRESHOLD]
         [--timer-typefilter TIMER_TYPEFILTER]

License

nose2-test-timer is MIT Licensed library.

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc