2

I want to be able to skip a current test from its body. Of course, I could simply do this:

if (condition) return;

But this will show the test as "passed". I want to keep the user informed that the test is neither passed nor failed if (condition) happens.

In C# we have Assert.Inconclusive(), so some C++ analogue of this function would be the best. Is there anything like this in Microsoft Cpp Unit Testing Framework or can it be implemented?

Anton Serov
  • 174
  • 2
  • 12

0 Answers0