This wiki is a read-only archive. It was frozen on 3 October 2026 and is no longer edited.

Please provide a brief "position statement", outlining the approach you wish the group to take, the goals you'd like us to achieve, etc.

Patrick

Keep it simple - remember that most people who develop specifications want to focus on the specification itself and not on test requirements or complex markup. If we make things too complicated then people will simply ignore our recommendations. (We could make allowance for more complex markup by defining "profiles".)

The simplest possible test assertion is a normative statement that is either contained within or derived from the specification, together with an identifier. In either case, it should be possible to identify to a "useful" level of granularity the location within the spec where the statement may be found or from where it has been derived.

We should also provide a relatively short document that explains the value of test assertions and that provides practical advice for creating them for a variety of different types of specification.

I'll consider our work a success if we explain to people the value of test assertions, and if we define a simple standard for identifying and marking up assertions. This will encourage spec authors in the Java space to take on the burden of identifying assertions within their specs, resulting in more testable specs. Hopefully, conformance test developers will then be able to focus more on how to test rather than on trying to figure out what to test.

Such standards will also facilitate work that we're already doing in the area of coverage-measurement, making it easier for us to quantify the level of coverage provided by our test suites.

Stephen Green

It seems important to me that there be a clear statement of what, in a typical specification, ought to be accompanied by a formal test assertion. Perhaps not so important would be a description of which kinds of aspects are not appropriate for test assertions.

A second important provision is a means for specification architects and also implementation guide architects to link test assertions to precisely identified parts of a specification. Included in this might be an ability to group such associations in a separate formal document (for which a suitable, helpful, simple XML vocabulary could be provided).

Due to the nature of most OASIS technical committees it is a perhaps an unwritten rule that an important aspect of their specifications be that a conformant instance be valid against a given XML schema. An example consideration is whether such a requirement should be stated formally and precisely, in view of the fact that such validation is not as simple in some cases as it is in others.

I think we have to help specifications (such as for profiles to aid adoption) to reference other specifications and themselves be referenced.

Jacques Durand

Test Assertions: why bother? Because it has been my experience in almost every case in OASIS and WS-I, that writing TAs related to a specification helps uncover defects and gaps, especially around corner cases, exception conditions. So the earlier TAs are written in the specification process, the better. And, unlike test cases, test assertions can be written quite early on - by the spec team itself - as none of the implementation details found in a test case are needed. Finally, a set of TAs is the best starting point for a testing team to write a test suite for a specification. All this improves quality and time-to-deployment of specifications.

OASIS recently mandated the presence of a conformance clause in its future standards. TAs are the most precise way to define a conformance profile or level, while making abstraction from implementation details.

The challenges? A general guideline must be short, inviting to readers (if not captivating), and provide enough guidance for all kinds of specifications. It must help write TAs at the right level of abstraction, yet precisely enough so that their implementation in test cases is unambiguous. Another challenge: how much of the assumed underlying test environment (identify implementations under test, their operations, etc.) must be described?

Kevin Looney

Of course, any formalism for Specification Analysis will have downstream effects on tools that may be designed to automate the process of analysis - as well as the metrics applied to an analysis.

The challenges that I see for this group is to specify this formalism in a pragmatic unambiguous way, such that analysis tools may be unambiguous and useful.

Whoever

Add your position statement here...