I'm trying to use gtest in a cygwin environment. For whatever reason, this is extremely difficult to set up and I can't seem to find instructions on how to set up unit tests with gtest.
I managed to build gtest and make check runs the unit tests just fine but I cannot make my own successfully. I found this and this and I managed to execute it successfully but when I try to link the object code, everything goes to hell.
Where can I find instructions on how to set up a simple unit test? Or better yet, does anyone have the command line instruction I need to compile (and link) these unit tests correctly?
Aucun commentaire:
Enregistrer un commentaire