proj_flow.ctrf.ctrf

The proj_flow.ctrf.ctrf provides ctrf.io classes.

class proj_flow.ctrf.ctrf.Tool(name: str = 'proj_flow-ctrf', version: str = '0.28.3')
name: str = 'proj_flow-ctrf'
version: str = '0.28.3'
class proj_flow.ctrf.ctrf.Summary(tests: int = 0, passed: int = 0, failed: int = 0, skipped: int = 0, pending: int = 0, other: int = 0, start: int | None = None, stop: int | None = None)
tests: int = 0
passed: int = 0
failed: int = 0
skipped: int = 0
pending: int = 0
other: int = 0
start: int | None = None
stop: int | None = None
update(test: Test)
asdict()
update_start_stop(test: Test)
class proj_flow.ctrf.ctrf.Test(name: str, filePath: str | None, line: int | None = None, suite: list[str] | None = None, status: str = 'pending', message: str | None = None, start: int | None = None, stop: int | None = None, timestamp: str | None = None, duration: int = 0, id: str | None = None)
name: str
filePath: str | None
line: int | None = None
suite: list[str] | None = None
status: str = 'pending'
message: str | None = None
start: int | None = None
stop: int | None = None
timestamp: str | None = None
duration: int = 0
id: str | None = None
recalc_name()
with_status(status: str, /, message: str | None = None)
asdict()
static from_dict(**kwargs)
class proj_flow.ctrf.ctrf.Environment(reportName: str | None = None, appName: str | None = None, appVersion: str | None = None, buildId: str | None = None, buildName: str | None = None, buildNumber: str | None = None, buildUrl: str | None = None, repositoryName: str | None = None, repositoryUrl: str | None = None, commit: str | None = None, branchName: str | None = None, osPlatform: str | None = None, osRelease: str | None = None, osVersion: str | None = None, testEnvironment: str | None = None, healthy: bool | None = None)
reportName: str | None = None
appName: str | None = None
appVersion: str | None = None
buildId: str | None = None
buildName: str | None = None
buildNumber: str | None = None
buildUrl: str | None = None
repositoryName: str | None = None
repositoryUrl: str | None = None
commit: str | None = None
branchName: str | None = None
osPlatform: str | None = None
osRelease: str | None = None
osVersion: str | None = None
testEnvironment: str | None = None
healthy: bool | None = None
asdict()
update(other)
static from_dict(**kwargs)
class proj_flow.ctrf.ctrf.Results(tool: proj_flow.ctrf.ctrf.Tool = <factory>, summary: proj_flow.ctrf.ctrf.Summary = <factory>, environment: proj_flow.ctrf.ctrf.Environment = <factory>, tests: list[proj_flow.ctrf.ctrf.Test] = <factory>)
tool: Tool
summary: Summary
environment: Environment
tests: list[Test]
update(test: Test)
asdict()
root_element()
store_root_element(path: Path)