Re: [squid-dev] cppunit -> googletest / gmock?

2020-05-31 Thread Alex Rousskov
On 5/31/20 3:05 PM, Francesco Chemolli wrote: > - https://stackoverflow.com/questions/7922289/googletest-vs-cppun > it-the-facts > - trivial but it builds up: not generally necessary to have .h and .cc > for simple cases > - comparison > table: 

Re: [squid-dev] cppunit -> googletest / gmock?

2020-05-31 Thread Francesco Chemolli
On Sat, May 30, 2020 at 7:38 PM Amos Jeffries wrote: > On 31/05/20 5:27 am, Francesco Chemolli wrote: > > Hi all, > >starting from a PR in a conversation with Alex about our current > > approach to unit testing being painful, I've checked what alternatives > > would we have and how practical

Re: [squid-dev] cppunit -> googletest / gmock?

2020-05-31 Thread Alex Rousskov
On 5/30/20 2:36 PM, Amos Jeffries wrote: > On 31/05/20 5:27 am, Francesco Chemolli wrote: >> starting from a PR in a conversation with Alex about our current >> approach to unit testing being painful, I've checked what alternatives >> would we have and how practical would they be. FWIW, I would

Re: [squid-dev] cppunit -> googletest / gmock?

2020-05-30 Thread Amos Jeffries
On 31/05/20 5:27 am, Francesco Chemolli wrote: > Hi all, >    starting from a PR in a conversation with Alex about our current > approach to unit testing being painful, I've checked what alternatives > would we have and how practical would they be. > > An easy first option would be

[squid-dev] cppunit -> googletest / gmock?

2020-05-30 Thread Francesco Chemolli
Hi all, starting from a PR in a conversation with Alex about our current approach to unit testing being painful, I've checked what alternatives would we have and how practical would they be. An easy first option would be googletest/googlemock. On a lazy afternoon, I've tried seeing how