MCPcopy Create free account
hub / github.com/F-Stack/f-stack / TestSuiteResult

Class TestSuiteResult

dpdk/dts/framework/test_result.py:176–192  ·  view source on GitHub ↗

The test suite specific result. The _inner_results list stores results of test cases in a given test suite. Also stores the test suite name.

Source from the content-addressed store, hash-verified

174
175
176class TestSuiteResult(BaseResult):
177 """
178 The test suite specific result.
179 The _inner_results list stores results of test cases in a given test suite.
180 Also stores the test suite name.
181 """
182
183 suite_name: str
184
185 def __init__(self, suite_name: str):
186 super(TestSuiteResult, self).__init__()
187 self.suite_name = suite_name
188
189 def add_test_case(self, test_case_name: str) -> TestCaseResult:
190 test_case_result = TestCaseResult(test_case_name)
191 self._inner_results.append(test_case_result)
192 return test_case_result
193
194
195class BuildTargetResult(BaseResult):

Callers 1

add_test_suiteMethod · 0.85

Calls

no outgoing calls

Tested by 1

add_test_suiteMethod · 0.68