[CMake] Ctest and CxxTest

Ben Boeckel MathStuf at gmail.com
Sun Sep 20 11:15:48 EDT 2009


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

Wojciech Migda wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi all,
> 
> I was wondering about an improvement for the way CxxTest unit 
tests
> are coupled with CTest. Right now when CTest submits results 
to CDash
> the tests are counted by binaries executed. In my unit tests 
each
> binary corresponds to an entire suite (approx. 150 testcases 
grouped
> within single CxxTest class). I'd see it very useful to have 
CTest
> operate with CxxTest based unit tests on a testcase level. Has 
anyone
> stumbled upon similar problem and got ideas / solutions ?
> 
> Thanks for assistance,
> 
> - -Wojciech

I use QTest for my unit tests. These have multiple tests within 
each one. When one fails, I run ctest -V <test_name> to get the 
details. It helps keep output down when tests are working great 
and only expands when I need it (though automating the ctest -V 
run is something I haven't looked into yet).

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBAgAGBQJKtkckAAoJEKaxavVX4C1X+4cQALpfG+c5YaVaOspLE7b/ILxA
+3KIyWG34rrqpMoXzS72l+j5psDwW3GUpqkLPZdOMCLh6Z4x7Ql+OS7V6y+UuKjv
wT+2AY4tk4O4wEV4j4ISQYd1bkGDbBOzAxcbTZnrEx+3dRvvB7Dz8q6sZS875St9
rnPuPPLwCAH4IXQJ+dwdsRg/rJb2vvHGyNRY1rhQ5a/7rca0PqBi38uQQ8zZw840
KYdoi4p+i/Wvv/wX57avrDLVnXMPdFdoT7n7QMM4vk15n0eyoXk19aaTSrRvsiQP
ZbXYdgvgOlFBE2Lk9tktR/lzSXX3bGGymqFqYvfX00c06Mtofju0ZHbtEGwp8tad
2m0lSINtg/c+JdFsqp8RQaCv5xC/i285v/B6piQljnWkjBXkXP5bXncOR12qd3F1
Vgvnf71X72l93C6zeVqV0g5+e7ITSvPEWWe0ok40dP4ZAbo9lQ8/UbjTCD7J7XHJ
P8YWEG2OCiBaYp+IfTgRyt+EBYW18ig5O8HjZANgxWAG9UNbB00HSw6eEy8q/O5g
/OJOsMhMTsQIRSw0Y+5mSIkcMIGclcUDdX3Jpkq+BshOoOqEn+oAEnpkYlPi9TiF
KlewIi1QWyW8eMEu8ZJoMy8WH+N4wQPtyPlVllxmlX5MON+s82LLiWMN1aaZf/VH
//j+hhkExoZmwhtZbhPR
=kQDr
-----END PGP SIGNATURE-----




More information about the CMake mailing list