Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT Test Runner for CppUTest


You don't need to change feature.xml to add "CppUTest Runner" in the drop down menu inside C/C++ Test runner in "Run Configurations...", you just need to implement the org.eclipse.cdt.testrunner.TestsRunner extension point. As your tests runner is hosted outside CDT codebase, you need to implement your own feature (with a separate feature.xml) and update site (if necessary) with your plugin.


-------- Original message --------
Hi Marc-Andre,

Thank you for your answers. During the time waiting for reply, I have actually written the code that runs CppUTest with this test runner.

Related to hosting this project outside CDT codebase, I now have some further questions on packaging and installation if they are hosted outside CDT codebase.

I am aware that it would require a change in feature.xml in org.eclipse.cdt.testsrunner.feature package so that users can see "CppUTest Runner" in the drop down menu inside C/C++ Test runner in "Run Configurations..."

If CppUTest runner is hosted outside CDT codebase, can you give me some idea how I can update this xml file when a user choose to install this test runner?

Or shall include the entire cdt testrunner plugin for users to download and install and replace their existing CDT test runner?


From: Marc-Andre Laperle <malaperle@xxxxxxxxx>
To: Steven Mak <tcmak@xxxxxxxxx>; CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Sent: Friday, March 1, 2013 10:33 AM
Subject: Re: [cdt-dev] CDT Test Runner for CppUTest

Hi Steven,

There is no plan to support CppUTest at this moment. It should be possible to implement this test runner as a plug-in that extends the CDT Unit Testing Framework. Given the relatively low popularity of CppUTest, perhaps it would be best to host this project outside of the CDT code base for now.

Here's a page to help you getting started:

In addition to the projects listed there, you should import those projects:

Hope this helps!


On 02/21/2013 05:28 AM, Steven Mak wrote:
> Hi CDT team,
> Do you have any plan for supporting CppUTest ( as one of the test runners?
> Or can I know where to look at in terms of contributing code on this?
> Thanks,
> Steven
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

cdt-dev mailing list

Back to the top