dev.conformance
2 functions / 1 types
Index
| Function | Description |
|---|---|
| begin | Start recording statement coverage and clear the previous run’s results. |
| end | Finish recording statement coverage and return the report without waiting for the deadline. |
| Type | Description |
|---|---|
| ConformanceReport | Statement coverage results returned by End. |
begin
def begin(*, _transaction_id: str | None = None) -> NoneStart recording statement coverage and clear the previous run’s results.
Returns None.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
end
def end(
*,
_transaction_id: str | None = None
) -> types.dev.conformance.ConformanceReportFinish recording statement coverage and return the report without waiting for the deadline.
A standalone engine also reports the result through its exit code. An embedded engine returns the result only through this response.
Returns ConformanceReport.
_transaction_id optional : str | None
Transaction to join. Omit to submit without an explicit transaction. Defaults to None.
ConformanceReport
ConformanceReport(
*,
passed: bool,
not_exercised: tuple[str, ...] = (),
left_out: tuple[str, ...] = ()
)Statement coverage results returned by End.
passed : bool
True when the run exercised every non-exempt statement.
not_exercised optional : tuple[str, ...]
Registered statements that were neither exercised nor exempted. Defaults to ().
left_out optional : tuple[str, ...]
Exempt statements, formatted as path: reason. Defaults to ().