MCPcopy Create free account
hub / github.com/AimRT/AimRT / test_logger_examples

Function test_logger_examples

src/test/cases/cpp/logger/test_cpp_logger.py:16–24  ·  view source on GitHub ↗
(yaml_name: str, aimrt_test_runner: AimRTTestRunner)

Source from the content-addressed store, hash-verified

14
15@pytest.mark.parametrize('yaml_name', CASES)
16def test_logger_examples(yaml_name: str, aimrt_test_runner: AimRTTestRunner):
17 yaml_path = (Path(__file__).parent / yaml_name).resolve()
18 if not yaml_path.exists():
19 pytest.skip(f'YAML not found: {yaml_path}')
20 if not aimrt_test_runner.setup_from_yaml(str(yaml_path)):
21 pytest.fail('Failed to setup test environment from YAML configuration')
22 success = aimrt_test_runner.run_test()
23 if not success:
24 pytest.fail('Test execution failed')

Callers

nothing calls this directly

Calls 2

setup_from_yamlMethod · 0.45
run_testMethod · 0.45

Tested by

no test coverage detected