mahmoudimus / nose-timer

A timer plugin for nosetests (how much time does every test take?)
MIT License
126 stars 33 forks source link

Time unit for `timer-ok` and `timer-warning` #30

Closed satyrius closed 10 years ago

satyrius commented 10 years ago

I want to measure unit tests with milliseconds, because they are always faster than a second.

satyrius commented 10 years ago

It similar to this pull request https://github.com/mahmoudimus/nose-timer/pull/24. The difference:

  1. You can pass options as 1s, 100ms rather that 1 (without time unit, default to seconds)
  2. It uses milliseconds for internal time comparisions
mahmoudimus commented 10 years ago

@satyrius can you fix the merge conflict?

satyrius commented 10 years ago

Ready do be merged into master

e0ne commented 10 years ago

Thanks, @satyrius!