[Insight-users] Unit Testing

Luis Ibanez luis.ibanez at kitware.com
Wed May 16 14:53:38 EDT 2007


Hi Matt,

You may want to look also at:

   http://www.cmake.org/Wiki/CMake_Testing_With_CTest


Please let us know if you have further questions,


    Thanks



-----------------------
Dan Mueller wrote:
> Hi Matt,
> 
> I'm not an expert regarding the testing system used by ITK, but 
> hopefully I can at least help point you in the right direction.
> 
> ITK uses CMake to generate tests covering different aspects of the code, 
> including: unit tests, blackbox tests, and regression tests. Have a 
> browse of Testing/Code/BasicFilters/CMakeLists.txt to see examples of 
> how to use CMake to add unit and regression tests. The CMake 
> documentation may also be useful: 
> http://www.cmake.org/HTML/Documentation.html (particularly the ADD_TEST 
> command). Obviously you can use the CMake ADD_TEST command in your own 
> projects as well.
> 
> Maybe check out the following pages:
>     http://www.itk.org/Wiki/Itk_FAQ#Testing
>     http://www.itk.org/HTML/Testing.htm
> 
> HTH
> 
> Cheers, Dan
> 
> Matt Kelsey wrote:
> 
>> Does anyone know of a document or tutorial that details the ITK
>> testing structure.  Does it support something in the way of Unit
>> Tests?  I'd like to have a structured way of testing all of my modules
>> and would be happy to use a built in feature if it's there.
>>
>> Thanks for any thoughts.
>>
>> Matt
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list