We are working with Marmalade SDK in Visual Studio and sharing files via git with a team. And we would love to use unit tests.
There are many possibilities
We tried to implement unit tests with built-in function of Visual Studio, so we just created a new test project in same solution. Everything looked fine until we try to included Marmalade SDK files. There was a problem with compiler. Marmalade SDK generates his own project properties, there are compilers like "ARM (x86) Debug" and many more, and in Test project are just defaults like Debug, Release. So the code can't be compiled correctly. Can I just copy those properties to Test project? Will it work? It will be much better if we will find answer on this option.
But also, we can use some unit test c++ framework. Link it in same main project as Marmalade SDK create. But which framework will be the best? There are plenty of them and I couldn't find out what will be the best. Also, we will need to do special main.cpp for running unit tests, right? If you can provide best test framework for easy to implement in Visual Studio with some tutorial I will really appreciate it.
Thank you for any answer!