Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a plugin that integrates to CPPUnit with VS2008 or Eclipse CDT?

We have some projects that have CPPUnit tests that are build and run using an ant script to build them all (right now we're using Borland C++, but we're moving to VS2008).

The problem is that the interface to run and see the result of tests is unpleasant (command prompt). It would be awesome to have them run inside eclipse or VS2008.

It would be a lot better if a plugin that I could select the tests I want to run and get some visual feedback (green bar/red bar), pointing me to the tests that failed and the messages.

This exists with JUnit in Eclipse (for java), but is there something similar for C++ using Eclipse CDT or VS2008? A UI test runner would be usefull too, so I could launch the UI as a Post build action.

EDIT (possible answer):

I found this project: ECUT, however I didn't test it yet. Looks promising thou. I'll update this question as soon as I get more experience with the project.

like image 710
Edison Gustavo Muenz Avatar asked Nov 05 '22 21:11

Edison Gustavo Muenz


1 Answers

Their doesn't seem to be a test runner for within Visual Studio, just the MfcTestRunner and the QtTestRunner.

For Visual Studio, Resharper and TestDriven.Net are the usual suspects to first look for test runners, but both don't have support for CPPUnit.

like image 194
Bryan Bailliache Avatar answered Nov 12 '22 15:11

Bryan Bailliache