Package funkload :: Module BenchRunner
[show private | hide private]
[frames | no frames]

Module funkload.BenchRunner

FunkLoad Bench runner.

$Id: BenchRunner.py 24746 2005-08-31 09:59:27Z bdelbosc $
Classes
BenchRunner Run a unit test in bench mode.
LoopTestRunner Run a unit test in loop.

Function Summary
  add_cycle_result(status)
Count number of result.
  get_cycle_results()
Return counters.
  get_status(success, failures, errors, color)
Return a status and an exit code.
  load_unittest(test_module, test_class, test_name, options)
Instanciate a unittest.
  main()
Default main.
  reset_cycle_results()
Clear the previous results.

Variable Summary
int g_success = 0                                                                     
str USAGE = '%prog [options] file class.method\n\n%prog laun...

Function Details

add_cycle_result(status)

Count number of result.

get_cycle_results()

Return counters.

get_status(success, failures, errors, color=False)

Return a status and an exit code.

load_unittest(test_module, test_class, test_name, options)

Instanciate a unittest.

main()

Default main.

reset_cycle_results()

Clear the previous results.

Variable Details

g_success

Type:
int
Value:
0                                                                     

USAGE

Type:
str
Value:
'''%prog [options] file class.method

%prog launch a FunkLoad unit test as load test.

A FunkLoad unittest use a configuration file named [class].conf, this
configuration is overriden by the command line options.

See http://funkload.nuxeo.org/ for more information.
...                                                                    

Generated by Epydoc 2.1 on Tue Feb 27 10:41:43 2007 http://epydoc.sf.net