mahmoudimus / nose-timer

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

Fixes multiprocess inconsistency and adds inline-only option. #69

Closed romack77 closed 8 years ago

romack77 commented 8 years ago

When running with verbosity >= 2, test times get appended to nose's own test output - (e.g.: my_test.py:MyTestCase.test_a ... ok (0.1653s)) - but this isn't happening when the multiprocess plugin is used. This commit fixes that.

Additionally adds an option to rely on that output exclusively, and suppress the extra line per test that outputs the same information.

skudriashev commented 8 years ago

@romack77, thanks for your patch. Will look into this patch soon.

skudriashev commented 8 years ago

@romack77, I've fixed printing output with multiprocessing plugin and verbose >= 2. But I don't think we need the inline-only option at the moment. Unless @mahmoudimus disagree. Thanks for your input :)