Re: [SpecGL Draft] E. Good Practice: Write Test Assertions

Le 16 juil. 2004, à 04:43, Andrew Thackrah a écrit :
>> Do not put the feature in the specification without having its
>> corresponding test assertion(s).
>
> Are you suggesting that assertions are written before the 
> specification?
> If so I don't this ever happens (?) I thought assertions were derived 
> from
> specs.

At the same time, you can certainly write few test assertions at the 
time you are writing the specification. For example for SpecGL Lite, 
the template shows that a Principle or a Good Practice *could* be 
considered as a test assertion or at least help to create one, as 
exactly you would do with test cases. If you propose a feature to add 
to a technology and you can't write the test assertion which goes with 
it, it means that there is already a problem in the way you have 
conceived, designed or written the feature.

Though it doesn't mean that WG is done when the specification has been 
finished.

Why do you think it's not possible to write a test assertion at the 
time you are writing the specification?

-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***

Received on Friday, 16 July 2004 05:50:07 UTC