Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Section
borderfalse
Column
width15%
Include Page
TUSCANYWIKI: Java SCA MenuTUSCANYWIKI:
Java SCA Menu
Column
width85%

SCA Java vtest

vtest is a subproject for developing tests that verify the Tuscany Java runtime against the OSOA specification set. The approach taken is top-down starting from each specification. Specifications are analyzed line by line and functionality called out explicitly by the specifications are tested explicitly in the suite.

Here is an example from the Java Common Annotations and APIs spec and a corresponding test:

Code Block
java
java
org.apache.tuscany.sca.vtest.javaapi.conversation.lifetime.LifetimeTestCase
Code Block
java
java
/**
 * Line 487, 490
 * <p>
 * A conversation ends, and any state associated with the conversation
 * is freed up, when: <br>
 * ... The server's conversation lifetime timeout occurs
 */
 @Test
 public void lifetime9() throws Exception {

Test organization

There is a separate folder in the Tuscany source tree for vtest and each specification has its own nested subfolder:

java/sca/vtest/java-api
java/sca/vtest/wsbinding
java/sca/vtest/etc

Test bucket naming

Specification

vtest bucket folder

SCA Java Common Annotations and APIs V1.00

java/sca/vtest/java-api

SCA Web Services Binding V1.00

java/sca/vtest/wsbinding

Test-Spec Mapping

The following pages map specification line numbers to corresponding test methods
SCA Assembly V1.00 map
SCA Java Common Annotations and APIs V1.00 map
SCA Web Services Binding V1.00 map