Unit Testing C++ with Visual Studio CppUnit


I know that Resharper C++ 2016.1 supports two frameworks for unit testing - Boost.Test and Google Test.

I am working with the project where thousands of unit tests are written using CppUnit bundled in MS Visual Studio. It would be great to manage them by Reshaper the same way as for Google Test.

Do you have plans to introduce the support of MS CppUnit within Resharper C++?

Thank you in advance for your answer.


Hello Krzysztof,

We definitely plan to support more testing frameworks. The next one will probably be Catch, since it's very popular at the moment. CppUnit tests are supported in Visual Studio's Test Explorer, so there's already an easy way to run them, but we might support them in R++ too at some point - please vote for https://youtrack.jetbrains.com/issue/RSCPP-17319 to receive updates.

Thanks for the feedback!


Hello Igor,

Thank you very much for your answer. It is great to hear that you have some plans for supporting other testing frameworks.

Our solutions contain projects written in C#, C++/CLI and native C++. Currently we have to use two different approaches to run unit tests - by Resharper and VS Test Explorer. It would be nice to manage all unit tests the same way and make one consistent report. I am looking forward for any information in this matter.


Please sign in to leave a comment.