Files
Michael KarleskyandClaude Opus 5.5 0e0ce46d8d Add :mock_name_include_folder option
CMock names a mock's include guard and its Init, Verify and Destroy
functions by the mock's filename alone. Two mocks sharing a filename in
different folders therefore share a guard and define the same symbols.
With :mock_name_include_folder enabled the generator folds the folder a
mock is generated into below :mock_path into that name, so a mock of
config.h in uart/ becomes uart_Mockconfig.

The option defaults to off and leaves existing mocks unchanged. Unity's
test runner generator gains a matching option, and vendor/unity moves to
that commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-08 13:11:40 -04:00
..
2026-07-17 12:18:32 +02:00