Proposal for ebXML Test
Suite XML Drivers
Michael Kass NIST
michael.kass@nist.gov
*** Note: best viewed using Internet Explorer 5.5 or above (
with MSXML v3.0)
- Testing
is driven by an XML file, named ebXMLRequirements.xml
- ebXMLRequirements.xml
file must validate against the ebXMLRequirements.xsd
schema
- Each
<Condition> or <Assertion> in the test requirements document
has a matching <TestCase> in file ebXMLTestSuite.xml
- The
ebXMLTestSuite.xml file must validate against the ebXMLTestSuite.xsd schema
- In the
file ebXMLTestSuite.xml, each <TestCase> contains of 1 or more
<TestStep> elements
- <TestStep>
elements consist of either message construction or trace file examination
instructions specified in XML
- *** Message
construction driver follows ebXML MS schema format, but uses a different
namespace
- As an
example, I chose test requirement r1.1.6 ( SOAP message Content-Type must
equal text/xml ) as an example
of a testing requirement driving a matching test case
- Trace
file examination instructions will validate to either Schematron or my
proposed XPath schema
- The
Trace File will validate against the schema: ebXMLTrace.xsd