[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Automatic extraction of unit tests from C++ classes
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2005-11-25 14:36:46
Message-ID: Pine.LNX.4.53.0511251535490.21660 () calcifer ! valdyas ! org
[Download RAW message or body]

On Fri, 25 Nov 2005, Roberto Cappuccio wrote:

> Alle 13:44, venerd=C3=AC 25 novembre 2005, Benjamin Meyer ha scritto:> On=
 Thursday 24 November 2005 9:06 am, Roberto Cappuccio wrote:> > Hi,> >> > i=
s there a tool to automate the extraction of unit tests from C++> > classes=
? I used something similar in Java, but I'm not able to find the> > equival=
ent for C++.> >> > Thanks in advance> >> > Roberto>> Do you have a link to =
the java tool you used?>> -Benjamin Meyer
> For Java I used JTest to auto-generate the test cases and JUnit (as a plu=
gin for Eclipse) to perform testing.Now I use CppUnit and a version of QtTe=
stRunner which I modified in order to use a KApplication instead of a QAppl=
ication, so that all KDE specific code can be tested.
> It works fine but it takes a lot of time to create the test cases, extrac=
ting manually all method names from the classes.
>

Interesting -- the Parasoft also publishes a C++ companion to JTest.

Boudewijn

(Who has been wondering for some time why about ten percent of the KDE
related mail he gets doesn't have newlines.)


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic