From: Arnout E. <ros...@bz...> - 2007-08-17 09:35:37
|
Pedro Lopez-Cabanillas wrote: > I think it is a bit pointless to maintain these tests integrated in the > build system. Has anybody plans to extend, maintain or use them in some way? > I certainly do - but then I'm biased, as I was the one that added them to the build system in the first place :). Personally I think having these kinds of regression tests is very useful - the transposition tests verify some quite nasty corner-cases. If I'd ever have to touch transposition code again, I'd certainly run those tests again (and add tests to verify that whatever was fixed remains fixed). As for having these tests in the build system, I think this is useful because building them separately (as had to be done with some tests that were already in the code base) is not a trivial thing to do. That way the tests quickly become abandoned, unbuildable and thus useless. > Do you run "make test"... sometimes/once/frequently/never? I generally try to run it when I made changes that could have broken stuff, and before committing. Indeed it would be nice to run the tests automatically on a regular basis. It seems cmake/ctest even has some infrastructure for that in place, though I haven't found time to look into this yet: http://www.cmake.org/Wiki/CMake_Testing_With_CTest http://www.itk.org/Testing/Dashboard/20070817-0100-Nightly/Dashboard.html In short, I'd like to see the tests at least remain included in the build system, and of course hopefully extended later on :). Arnout |