[Insight-developers] Test framework

Bill Lorensen bill.lorensen at gmail.com
Tue Dec 30 16:20:46 EST 2008


Steve,

Excellent point. I'm just tryng to make a point... Certainly we should
try to build google test on our platforms. I'm just sensitive when the
first reaction is "Screw them if they use xxx compiler".

Bill

On Tue, Dec 30, 2008 at 4:12 PM, Steve M. Robbins <steve at sumost.ca> wrote:
> Hi Bill,
>
> I try to stay out of the obsolete compiler debate, but let me
> throw in a few thoughts related to the testing framework.
>
> First, although the googletest README claims you need Visual Studio
> 7.1, did anyone try using an older version?  Maybe Google simply
> hasn't tested older versions?  Or maybe the bits that fail to
> build with VS6 won't affect the testing we need to do and can
> simply be #ifdef'd out?
>
>
> On Tue, Dec 30, 2008 at 01:21:30PM -0500, Bill Lorensen wrote:
>
>> Now, as we try to increase the coverage of our testing from 80% of the
>> code to an even higher percentage, we are considering test frameworks
>> that will make our job as developers easier. It is possible, that the
>> test framework we choose will not compile on all of our supported
>> platforms. But, since this will make our job as developers easier, we
>> feel that you, as a customer, should follow our lead.
>>
>> So, if you use the Microsoft VS6 of VS7 compilers, you will need to
>> upgrade to a newer version.
>
> That's not strictly true.
>
> Firstly, as someone mentioned, ITK 3.10 will now and forever build all
> its tests with VS6.  Someone who isn't changing compilers may not be
> changing ITK either.
>
> Secondly, the proposal on the table is to introduce a TESTING
> framework.  If it doesn't work with VS6, then SOME TESTS will not run
> on VS6.  I am not proposing to change requirements on library code: it
> will continue to work on VS6.  There is no need for a customer to
> upgrade their compiler.
>
> Best Regards,
> -Steve
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iD8DBQFJWo6q0i2bPSHbMcURAlaHAJ0ZrGrxP6XWyEaxnvg/I0W0uocmngCgjdGf
> c4I9a57mc7PbnEuZNMmX+Lk=
> =LXuc
> -----END PGP SIGNATURE-----
>
>


More information about the Insight-developers mailing list