MCPcopy Create free account
hub / github.com/pytest-dev/pytest / pytest_sessionstart

Function pytest_sessionstart

src/_pytest/hookspec.py:598–603  ·  view source on GitHub ↗

Called after the ``Session`` object has been created and before performing collection and entering the run test loop. :param pytest.Session session: The pytest session object.

(session: "Session")

Source from the content-addressed store, hash-verified

596
597
598def pytest_sessionstart(session: "Session") -> None:
599 """Called after the ``Session`` object has been created and before performing collection
600 and entering the run test loop.
601
602 :param pytest.Session session: The pytest session object.
603 """
604
605
606def pytest_sessionfinish(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected