i am developing a plugin and want to use TDD (more specifically, Catch) to test the application with Visual Studio.
Now as Unit testing in C++ just means compiling an executable and running it, this would qualify for a console application. However using the Plugin-Template only one project for the shared code and one additional project per plugin-type is created. Therefore i am lacking the ability to create this testing project that also links against the shared code.
My workaround would be to create a seperate console project that performs the tests. However this does not integrate very well, as i’d have to work with two instances of visual studio which is very cumbersome.
Is there any better way to do this? If not, are there plans to be able to create such custom project configurations in the projucer?
Thanks a lot,