You are not logged in Log in Join
You are here: Home » Members » Stefan's Home » ZopeTestCaseWiki » ZopeProfiler » wikipage_view

Log in
Name

Password

 
 
FrontPage »

ZopeProfiler

Profiler Readme

Since version 0.9.0 all xTestCases are profiler aware by default.

You can run your tests under profiler control like this:

        python testSomething.py profile

If you want to profile fixture creation or destruction type one of:

        python testSomething.py profile-setup
        python testSomething.py profile-teardown

Profiler statistics will be printed after the test results.

See the ApiReference for more on the profiler module.