Mocking for TimeWarrior

10 views
Skip to first unread message

Thomas Lauf

unread,
Mar 25, 2017, 1:01:32 PM3/25/17
to taskwar...@googlegroups.com
Hello,

I try to write unittests for getTracked and therefore want to mock the
Database class. I wonder whether there is a preferred mocking framework
for TimeWarrior.

Currently I wrote the mockDatabase myself, but on the long view using a
framework could be more practical.

GoogleTest [1] was recommended to me by a colleague once, I found
HippoMocks [2] when googleing for C++ mocking frameworks. What's your
opinion about that?

Regards,
Thomas

[1] https://github.com/google/googletest
[2] https://www.hippomocks.com

--
Dr. Thomas Lauf * thoma...@tngtech.com * +49 174 3180 086
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring
Geschäftsführer: Henrik Klagges, Christoph Stock, Dr. Robert Dahlke
Sitz: Unterföhring * Amtsgericht München, HRB 135082

signature.asc
Reply all
Reply to author
Forward
0 new messages