krieselreihe / litr

Litr (Language Independent Task Runner) lets you configure and then run any tasks you want for any language.
MIT License
8 stars 0 forks source link

Sort out the mocking situation for tests #12

Open MartinHelmut opened 3 years ago

MartinHelmut commented 3 years ago

Currently there is no easy way to mock for tests. I played around with FakeIt but it only supports virtual member functions. I would also need a way to mock static and single functions.

MartinHelmut commented 3 years ago

This looks promising, will test it: https://github.com/Guardsquare/mocxx

MartinHelmut commented 2 years ago

Maybe it is in the end actually worth it to look at FakeIt.