meekrosoft / fff

A testing micro framework for creating function test doubles
Other
749 stars 163 forks source link

How to install and to use? #108

Open SevHub opened 2 years ago

SevHub commented 2 years ago

Hello,

the Readme does not give any clue on how to add this to a project... Is the fff.h already sufficient? What is the purpose of the gtest folder? Does it replace the normal gtest library? What is the ruby script for? Do I need to run it once when I add the files to my project or every time I add some tests?

ivankvolik commented 1 year ago

I'd like to know this as well :)

ivankvolik commented 1 year ago

@SevHub I managed to get the examples running.

ruby script is for actual generation of the code. Without Ruby you won't be able to generate the fakes.

CiderMan commented 1 year ago

If you want to use FFF, you just need fff.h -- everything else is to cover documenting, generating and testing fff.h