runtest#

canary_runtests(runner: Runner) None#
class Runner(cases: list['TestCase'], session: str, workspace: 'Workspace', _returncode: int = -20)#

Bases: object

cases: list[TestCase]#
session: str#
workspace: Workspace#
start: float = -1.0#
finish: float = -1.0#
property returncode: int#
timeit() Generator[None, None, None]#
canary_runteststart(case: TestCase) Generator[None, None, bool]#
canary_runtest(case: TestCase) Generator[None, None, bool]#
canary_runtest_finish(case: TestCase) Generator[None, None, bool]#
canary_addoption(parser: Parser) None#
print_short_test_status_summary(runner: Runner) None#

Return a summary of the completed test cases. if include_pass is True, include passed tests in the summary

print_runtests_durations(runner: Runner) None#

Return a short, high-level, summary of test results

Return a short, high-level, summary of test results

print_durations(cases: list[TestCase], N: int) None#