Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ unit testing with VS test professional

Does any one know if I can test native code in VS Test 2010?

like image 798
There is nothing we can do Avatar asked Dec 17 '25 22:12

There is nothing we can do


1 Answers

As of VS2010, native C++ unit testing is not directly supported by Visual Studio. See MSDN, specifically:

You cannot have test projects with unit tests that use unmanaged C++.

You can still do native C++ unit testing with Visual Studio, but it won't be as integrated as other VS features. See this SO answer for a number of native unit testing frameworks and libraries. I have not used any of those, so I cannot give any guidance there.

like image 82
Chris Schmich Avatar answered Dec 19 '25 15:12

Chris Schmich



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!