Hi Bo,

  We put together a Wiki page comparing Boost Testing and Google Test in
ITK.  It has examples of how to write (ITK) tests in both frameworks and
CTest integration.

http://www.itk.org/Wiki/Proposals:Increasing_ITK_Code_Coverage

-dan


On 7/9/10 6:37 AM, "Bo Thorsen" <b...@askmonty.org> wrote:

> Hi people,
> 
> I have converted a set of applications to cmake and cpack, and now have
> my eyes set on ctest.
> 
> I'd like to hear if someone here has some good advice, or links to good
> advice, on how to structure tests. I'm searching for help on how to put
> different tests into what executables. On how to handle multiple tests
> on each classes, on how to best structure the test of the static
> libraries (all of those are part of the source tree) that are linked in
> to the application. And on how to test classes from the main application
> itself.
> 
> I have read the ctest FAQ, documentation etc. and still don't know
> anything that help me write the actual test code.
> 
>  From the looks of it, ctest only provides the framework to run a test,
> no help is given to write the code of the tests themselves, is this
> right? I have previously been using cppunit, and it looks like this will
> still be useful.
> 
> To sum it up, I'm looking for real life advice on what you guys have
> done with ctest. This information seem almost completely missing on the
> net, where all searches on ctest leads to useless presentation on ctest
> features.
> 
> Cheers,
> 
> Bo Thorsen.
> Monty Program AB.

-- 
Daniel Blezek, PhD
Medical Imaging Informatics Innovation Center

P 127 or (77) 8 8886
T 507 538 8886
E blezek.dan...@mayo.edu

Mayo Clinic
200 First St. S.W.
Harwick SL-44
Rochester, MN 55905
mayoclinic.org


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to