MCPcopy
hub / github.com/pytest-dev/pytest / TestShortLogReport

Class TestShortLogReport

src/_pytest/terminal.py:117–134  ·  view source on GitHub ↗

Used to store the test status result category, shortletter and verbose word. For example ``"rerun", "R", ("RERUN", {"yellow": True})``. :ivar category: The class of result, for example ``“passed”``, ``“skipped”``, ``“error”``, or the empty string. :ivar letter: The shor

Source from the content-addressed store, hash-verified

115
116
117class TestShortLogReport(NamedTuple):
118 """Used to store the test status result category, shortletter and verbose word.
119 For example ``"rerun", "R", ("RERUN", {"yellow": True})``.
120
121 :ivar category:
122 The class of result, for example ``“passed”``, ``“skipped”``, ``“error”``, or the empty string.
123
124 :ivar letter:
125 The short letter shown as testing progresses, for example ``"."``, ``"s"``, ``"E"``, or the empty string.
126
127 :ivar word:
128 Verbose word is shown as testing progresses in verbose mode, for example ``"PASSED"``, ``"SKIPPED"``,
129 ``"ERROR"``, or the empty string.
130 """
131
132 category: str
133 letter: str
134 word: str | tuple[str, Mapping[str, bool]]
135
136
137def pytest_addoption(parser: Parser) -> None:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected