Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CppUnit 1.1.0
CppUnit 1.1.0 [message #109565] Wed, 07 July 2004 03:14 Go to next message
Eclipse UserFriend
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 #109755 is a reply to message #109565] Wed, 07 July 2004 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lothar.xcerla.com

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???

as I already wrote in another thread (cppunit Plug-In):

It seems to be hopefully out of date (unfortunately). We used the
plugin despite it's deficiencies a lot with Eclipse 2.X now as we moved to
3.0 (CDT 2.0) it is broken. It seems it still can execute already written
tests. But the wizard gets stuck when it should generate the test file. The
code from cvs at http://cdt-contrib.sourceforge.net does not even compile
on eclipse 3.0.

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.

Maybe if we find enough supporters that want a working cppunit integration
in eclipse we can persuade IBM to pick up this sleeping beauty again and
kiss her awake ;-)

Lothar
Re: CppUnit 1.1.0 [message #109808 is a reply to message #109755] Thu, 08 July 2004 06:12 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:can't use custom build
Next Topic:wow, impressive improvements since 2.0
Goto Forum:
  


Current Time: Thu May 08 20:17:07 EDT 2025

Powered by FUDForum. Page generated in 0.07284 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top