[Insight-developers] ITK Regression tests & 'expected' exceptions

kent williams norman-k-williams at uiowa.edu
Mon Feb 8 13:08:30 EST 2010


In an effort to increase coverage on the Code/Review/itkTransform
Reader/Writer, I added some expected exceptions -- like calling Update()
without setting filename, and asking it to read a file with an unrecognized
file extension.

It appears that if there's an exception during testing, it's counted as an
error.  Should it really be an error to test exception handling?



More information about the Insight-developers mailing list