[dpdk-dev] [RFC 0/4] Use Google Test as DPDK unit test framework
Remy Horton
remy.horton at intel.com
Fri Aug 5 11:11:56 CEST 2016
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
More information about the dev
mailing list