Session Start Event¤
SessionStart
dataclass
¤
SessionStart(
session_id: str,
timestamp: str,
python: PythonDistribution,
pytest_version: str,
plugin_version: str,
event: str = "session_start",
project: Optional[Project] = None,
)
Event emitted when the test session is started.
event
class-attribute
instance-attribute
¤
event: str = 'session_start'
The event type. Always set to session_start
.
plugin_version
instance-attribute
¤
plugin_version: str
The version of pytest-broadcaster plugin that is used to produce the report.
project
class-attribute
instance-attribute
¤
project: Optional[Project] = None
The project that is being tested.
pytest_version
instance-attribute
¤
pytest_version: str
The version of pytest that is running the tests.
python
instance-attribute
¤
python: PythonDistribution
The Python distribution that is running the tests.