Okay, there is a tutorial about Google Test with VS like here. However, the page implements the function in the header, which I believe is a bad idea.
No matter how I try, I could not figure out how to call a function from a project different from the unit test project without including the implementation in the header like shown in the page.
A workaround would be to copy the source file to the unit test project, which I also believe is a bad idea.
So, how do I properly use Google Test from Visual Studio (2013)? Is there actually a way to call a function from another project, well, without setting the project as static library?
Aucun commentaire:
Enregistrer un commentaire