Why not use an existing C/C++ framework? Gtest is my
current favorite.
Charlie
> -----Original Message-----
> From: junit@yahoogroups.com [mailto:junit@yahoogroups.com] On
> Behalf Of Arnaud Bailly
> Sent: Friday, July 03, 2009 8:16 AM
> To: junit
> Subject: [junit] Hijacking JUnit infrastructure
>
> Hello,
> JUnit is a defacto standard in Java circle, which means it
> has a rich ecosystem. I would like to "hijack" this ecosystem
> for other languages/environments than Java. I actually did
> something for running Javascript tests with htmlunit and
> would now like to to do the same thing for C/C++ tests: use
> JUnit to drive and report test executions that encapsulates
> native tests.
>
> I am no sure this is a good idea, but it kind of worked for
> my JS tests. For the C tests, I am confronted with an issue
> probably due to my misunderstanding of JUnit architecture: It
> seems that Runner instances need Class objects to work on,
> being passed them by the framework. But of course, in my
> particular case I do not have specific Class objects to work
> with as tests are written in native C/C++ code.
>
> Could somebody point me to the right direction, or give me
> some good reasons to forget about this ?
>
> Thanks
>
> Arnaud
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>