CppUnit 1.1.0 [message #109565] |
Wed, 07 July 2004 03:14  |
Eclipse User |
|
|
|
I've installed CppUnit feature (1.1.0) on Eclipse 3.0 + CDT 2.0. A
TestCase wizard is not running. Is it just incompatibility problem of
CppUnit fature and new version of CDT???
|
|
|
|
Re: CppUnit 1.1.0 [message #109808 is a reply to message #109755] |
Thu, 08 July 2004 06:12   |
Eclipse User |
|
|
|
Lothar Werzinger wrote:
> Alexei wrote:
> > I've installed CppUnit feature (1.1.0) on Eclipse 3.0 + CDT 2.0. A
> > TestCase wizard is not running. Is it just incompatibility problem of
> > CppUnit fature and new version of CDT???
Yes, it is the incompatibility problem!
> code from cvs at http://cdt-contrib.sourceforge.net does not even compile
> on eclipse 3.0.
Yep... That's true... Although, I've managed to hack it to a compilable
state. Yep, just hack, have no idea, how bad my hacks are ;) The source of
plugin itself still use a banch of features marked as "deprecated".
> I really would appreciate if the people at IBM that wrote that plugin in the
> first place would maintain it at least to a compilable state. I have
> currently no experience in eclipse plugins and it seems like a lot of work
> to me to figure out how to port the old cppunit plugin to the new eclipse
> platform.
But the structure of tests generated by the plug-in :( I would say - no
structure at all: I managed to get only one file with interface of tests
and implementation. Then, I had to provide main function for the test
suite. Finally, I've got some tests run with the CompilerOutputter
attached. Now I have impression that CppUnit plug-in has only really basic
functionality. Probably, I have to spent more time playing with ,)
Now I have questions:
- Is it possible to parse an output of Tests by some error parser?
- How can I run some program/script/whatever just after build of my target
(for example, run target application automatically)?
|
|
|
Re: CppUnit 1.1.0 [message #111102 is a reply to message #109808] |
Fri, 16 July 2004 12:47  |
Eclipse User |
|
|
|
Originally posted by: lothar.xcerla.com
Alexei wrote:
>
> Now I have questions:
> - Is it possible to parse an output of Tests by some error parser?
> - How can I run some program/script/whatever just after build of my target
> (for example, run target application automatically)?
I hacked the testrunner of the plugin to use a XML outputter if a filename
is given on the command line. The generated XML is similar (but different)
to the one JUnit generates.
Lothar
|
|
|
Powered by
FUDForum. Page generated in 0.07284 seconds