[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: TAG Proposal on weak predicates
We discussed this briefly during today's teleconference. This allowed
me to collect my thoughts on the matter. As I understand the arguments, you're suggesting that because it may be difficult to test a particular assertion with the tools or test framework that's available, it is therefore appropriate to "weaken" the assertion such that it is testable. Having done so, you argue that it is therefore necessary to tag the assertion as "weak". I strongly disagree with this approach. Whether or not one is able (in the example you give, "willing" seems a more appropriate term) to test a normative requirement in the specification should not influence the derivation/identification of the appropriate assertion. Assertions should reflect the spec exactly. (Of course, a spec that contains a significant number of requirements that are untestable or difficult to test is a poor specification, since in practice implementations will tend to differ from each other in these areas. The very process of developing test assertions can help to identify such cases, and if performed early enough in the development cycle, feedback can be provided to improve the spec.) As I said, the list of assertions should exactly match the normative requirements in the spec. When it comes to testing, judgment calls are always made. Some assertions are not tested at all. Others are partially tested. Some are "completely" tested. In the example you give, the assertion would be partially tested. There is clearly value in annotating an assertion list with information about what is and what is not tested, and about the thoroughness of the testing that is performed. Such annotations seem to me to be a perfect example of "test metadata", and therefore out of scope for our document. In conclusion, I see no need for the interpretation qualifier, at least in this case. Durand, Jacques R. wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]