I wanted to write some tests for my C++ project...
Therefore I added a new project to write the test. (this is a class library type). I came up with a Solution using
Microsoft::VisualStudio::CppUnitTestFramework. Somehow VS detects my tests marked with
TEST_METHOD(...) macro and I'm able to execute them using Test Explorer.
So far so good... but now of course I want the tests to be executed automatically after each Build of my Solution... I thought there should be plenty of hits when I google this, but I did not find anything. Basically I'm looking for a postbuild command to execute the tests of another project. That shouldn't be so hard?
Thanks in advance