Testido

FunctionTest

Runs a single function as a test. Produces output that looks a little different than that of unittest's own FunctionTestCase.


Methods

f __call__(self) ...

f __init__(self, func) ...

@func function to run as a test.

f runTest(self) ...

f shortDescription(self) ...

Uses the function's doc string as the ideal form. Otherwise, the name is used.

See the source for more information.