Re: Fixture.error() as well as exception()?

Ward Cunningham <[email protected]> Fri, 26 Sep 2003 16:06:57 +0200
Newsgroups gmane.comp.programming.tools.fit.devel
Message-ID <[email protected]>
On Tuesday, September 23, 2003, at 07:52  PM, [email protected] wrote:

>  I'd prefer to reserve stack dumps
> for something that the developer has to fix,
> rather than things like invalid input data that the test
> writer has to fix.

Sometimes the input is invalid because the wrong type conversion has 
been applied. We greatly aid the fixture writer by showing exactly what 
has been attempted by the fixture. This way we get to correct fixtures 
faster rather than giving the customer the illusion that the fixtures 
are already right.

The fixture and fixture framework must speak to all members of the 
team. A customer must be able to distinguish a test that is working 
correctly and has established that the program under test is wrong 
(red) and a test that has someone gone wrong itself (yellow, gray) and 
therefore needs additional attention in its own right.

Everyone will benefit more from a Fit that is simple and predictable 
than a Fit that is held to arbitrary end-user interface standards.

--
Ward Cunningham
503-245-5633 v	mailto:[email protected]
503-246-5587 f	http://c2.com