OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [NEW ISSUE] Some TestCases can only be implemented using specificimplementation Languages

Raiser:                        Mike Edwards

Target:                        SCA_Assembly_TestCases_23.pdf


There are some capabilities described by the Assembly specification for which there are normative statements and related Test Assertions,
which are in practice only implemented by a restricted set of language implementations.

One simple example is the existence of local interfaces, for which there are a small number of normative statements.  Since WSDL interfaces
cannot be local, any possible test for these normative statements must involve using a language specific interface language such as
Java interfaces or C++ interfaces.

This causes a problem for the TestCase suite.  It not possible to build testcases for capabilities of this kind without creating a dependence on
one or more implementation languages, which is something that the Assembly test suite should not do.  The Assembly test suite should be
capable of being rendered in any implementation language.

So, for example, a testcase depending on local interfaces could not be rendered using BPEL as the component implementation language since
the only required interface type for BPEL is WSDL and WSDL cannot represent local interfaces.


One approach to this problem is along these lines:

1. Mark all test assertions and testcases which are necessarily implementation language dependent.

2. Remove the requirement to run all such testcases from the Assembly test suite.

3. Make it a requirement for each language TC for which a valid version of these testcases can exist to add a version of each of these testcases
to the language-specific test suite for their implementation language.

This ensures that whereever possible, the testcase still exists and must still be run, without requiring testing the impossible on other
implementation languages.

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]