[CMake] CTest - C Unit Testing Framework

Wojciech Migda wojtek.golf at interia.pl
Tue Oct 6 12:52:29 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Dixon, Shane pisze:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
> div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
> font-family:"Times New Roman";} a:link, span.MsoHyperlink
> {color:blue; text-decoration:underline;} a:visited,
> span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;}
> span.EmailStyle17 {mso-style-type:personal-compose;
> font-family:Arial; color:windowtext;} @page Section1 {size:8.5in
> 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1
> {page:Section1;} -->
>
> I’m using CMake for all of my building.  Currently I’m just working
> on Windows XP, but I’d like to leave things open for Linux builds in
> the near future.  Any suggestions on the best testing framework for
> a C project that will be cross-platform compatible and I can use it
> with Windows and Linux?  I’d like something that works well with
> CTest. (i.e. a command-line interface is probably ideal).
>
> 
>
> I looked at cfix, but that seems Windows specific.  The CUnit
> project looks like it hasn’t been updated in a long time.
>
> 
>
> Any suggestions?
>
>
I'm satisfied with CxxTest, which I'm using for strict C code unit
testing. I'm able to compile and run testcases under solaris and
cygwin within CMake/CTest framework.

- -Wojciech
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKy3XM0iFl+nAyImcRApIZAJ0SuG0PM7DtZMTjigGZoKg0oPlu7QCePrqI
3KVXxO6pMMva5ALB04O1hGk=
=M1IZ
-----END PGP SIGNATURE-----



----------------------------------------------------------------------
Zobacz najwiekszy samolot na swiecie!  
Kliknij >>> http://link.interia.pl/f238f



More information about the CMake mailing list