[Insight-developers] Test framework

Bill Lorensen bill.lorensen at gmail.com
Tue Dec 30 12:18:24 EST 2008


Long live VS6 and 7!!!

On Tue, Dec 30, 2008 at 12:15 PM, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>
> Hi Dan,
>
> Thanks for adding to the Wiki the information on GoogleTest.
>
>
> Two questions:
>
>
> A)  You mention that it
>
>         "trivially compiles using CMake without
>          configuration or modification. "
>
>
>    Is that right ?
>
>    I downloaded version: gtest-1.2.1.tar.gz (released Dec 11)
>    and couldn't find CMakeLists.txt files in it.
>
>    There are standard configure and scons constructs  in the
>    directory...
>
>    Have you written a CMakeLists.txt file for gtest ?
>    If so, could you please share it ? (maybe attach it to
>    the Wiki)
>
>
>
> B) The README file indicates that in order to build it on
>   Windows it requires Visual Studio 7.1 or newer.
>
>   This may actually be a good opportunity for
>   singing the Requiem for Visual Studio 6.0 and 7.0.   :-)
>
>
>
>  Thanks
>
>
>      Luis
>
>
> ----------------------
> Blezek, Daniel J. wrote:
>>
>> Yep, it is cool.  We've been using it extensively and I really like it.
>> On reflection, I'm not sure it will be a drop in replacement for the
>> test routines currently in use, without some messing around with the
>> internals.  The framework manages test discovery and execution and
>> leaves it intentionally opaque.  However, a good strategy might be to
>> leave the existing tests in place and start using a new test framework,
>> i.e., make itkCommonTests3 use the new framework.
>>
>> I documented our experiences with Google Test on the wiki as you
>> suggested:
>> http://www.itk.org/Wiki/Proposals:Increasing_ITK_Code_Coverage#Google_Te
>> st
>>
>> Cheers,
>> -dan
>


More information about the Insight-developers mailing list