Package testoob :: Module collecting
[show private | hide private]
[frames | no frames]

Module testoob.collecting

Some useful test-collecting functions
Function Summary
  collect(globals_dict)
  collect_from_files(glob_pattern, modulename, path)
  collect_from_modules(modules, globals_dict)
  collector_from_globals(globals_dict)
Returns a function that collects all TestCases from the given globals dictionary, and registers them in a new TestSuite, returning it.
  collector_from_modules(modules, globals_dict)
Returns a function that collects all TestCases from the given module name list, and the given globals dictionary, and registers them in a new TestSuite, returning it.
  _calling_module_directory()
  _calling_module_name()
  _first_external_frame()
  _is_test_case(x)
  _load_suite(module_name)
  _module_names(glob_pattern, modulename, path)

Function Details

collector_from_globals(globals_dict)

Returns a function that collects all TestCases from the given globals dictionary, and registers them in a new TestSuite, returning it.

collector_from_modules(modules, globals_dict)

Returns a function that collects all TestCases from the given module name list, and the given globals dictionary, and registers them in a new TestSuite, returning it.

Generated by Epydoc 2.1 on Sun Dec 3 15:27:57 2006 http://epydoc.sf.net