On 05/08/2016 08:41, Yerden Zhumabekov wrote: [..] > We use cmocka.org for tests. Written in C. It has support for: > * mocking; > * setup/teardown; > * asserts; > * test groups. > > Output is nicely formatted.
Cmocka's mocking relies on Gnu ld's --wrap feature, which has problems if the function being mocked is defined in the same compilation unit that it is used. Pity really as otherwise it looked quite good to me. ..Remy