You could split up your testcases into multiple CxxTest classes.<br><br>You could check to see if the cxxtest code generator supports preprocessor statements in generating test runners. Then you could group your tests by #ifdef / #endif...? Alternatively if it's not supported you may be able to modify the code generator to output multiple runners depending on the tests you want to run, e.g. cxxtestgen.pl --enable-test foo<br>
<br>I think splitting things up probably would be the easiest approach.<br><br><div class="gmail_quote">On Sun, Sep 20, 2009 at 10:01 AM, Wojciech Migda <span dir="ltr"><wojtek.golf@interia.pl></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi all,<br>
<br>
I was wondering about an improvement for the way CxxTest unit tests<br>
are coupled with CTest. Right now when CTest submits results to CDash<br>
the tests are counted by binaries executed. In my unit tests each<br>
binary corresponds to an entire suite (approx. 150 testcases grouped<br>
within single CxxTest class). I'd see it very useful to have CTest<br>
operate with CxxTest based unit tests on a testcase level. Has anyone<br>
stumbled upon similar problem and got ideas / solutions ?<br>
<br>
Thanks for assistance,<br>
<br>
- -Wojciech<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.7 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFKtjXN0iFl+nAyImcRAo/BAKCCjLfj8i+DjwxV3XDKO7drCSHPKQCfVl4a<br>
MdCJI1BEpFFviP6wjN8o5JM=<br>
=KGBE<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>
----------------------------------------------------------------------<br>
Kawalerka za 79 000 zl!<br>
Sprawdz >>> <a href="http://link.interia.pl/f2348" target="_blank">http://link.interia.pl/f2348</a><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Philip Lowman<br>