mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-11-07 16:02:52 +00:00
The runner names each mock's Init, Verify and Destroy calls by the mock's filename alone. Two mocks sharing a filename in different folders therefore collapse to the same calls. With :mock_name_include_folder enabled the runner keeps the folder a mock is included from, so uart/MockConfig.h yields uart_MockConfig_Init(). CMock gains a matching option that names its generated functions the same way. The option defaults to off and leaves existing runners unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>