You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@celix.apache.org by GitBox <gi...@apache.org> on 2019/09/28 14:50:49 UTC

[GitHub] [celix] rlenferink commented on issue #96: Refactor CppUTest tests to gtest

rlenferink commented on issue #96: Refactor CppUTest tests to gtest
URL: https://github.com/apache/celix/issues/96#issuecomment-536196253
 
 
   _Comment by Johan:_
   
   Potential issues would be:
   - CppUTest is easy to build for an end-user and is typically distributed with the package manager. For gtest+gmock this is not the case and the end-user needs to build and install from source by themselves. Alternatively Celix could bundle the binaries and headers, which would add work on the project side instead of the user side.
   - gmock does not support mocking C functions exactly, there are ways of working around this[0][1] which either introduces extra boilerplate or an extra dependency.
   
   [0] https://github.com/hjagodzinski/C-Mock
   [1] https://stackoverflow.com/questions/31989040/can-gmock-be-used-for-stubbing-c-functions

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services