|
|
|
YADI, part 3: timedtest, a decorator for time performance tests
Grig Gheorghiu has released
a pretty cool tool, called pyUnitPerf. It's
a
port of Mike Clark's JUnitPerf. This tool runs your tests cases, and measure the time they take to run. It can pop a Failure when the tests lasts too long. It also has a Load runner, but nothing comparable to the amazing funkload tool Thats quite useful in some cases, when your test fixture does not make the code run slower, like it happens in ZopeTestCase. So since pyUnitPerf associates a max time with a TestCase class, and since test fixture can slow down the tests, it makes it really hard to use it, to measure a distinct test method. So I have taken back the idea and put it in a decorator that I can use on all test methods I want to control, performances wise. The timedtest decorator
|
Nuxeo Bloggers: Log in! Search Nuxeo Blogs
About this blog
Tarek Ziadé Nuxeo Bloggers
Photos and Pictures
|
|
Nuxeo -
Indesko -
Nuxeo 5 Project
All content is copyrighted by their author. CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS. |