Running Woden test suite in network isolation mode
--------------------------------------------------

                 Key: WODEN-70
                 URL: http://issues.apache.org/jira/browse/WODEN-70
             Project: Woden
          Issue Type: Test
          Components: Validation
            Reporter: Graham Turrell


An excellent validation of the a URI resolver is to run the entire test suite 
disconnected from the network. All external WSDL and XML Schema files 
referenced by the test suite much appear (directly or indirectly) in the 
Catalog used by the resolver under test, and local copies of those files must 
exist prior to test execution. With the current test suite, this  applies to 
the W3C tests only.

Ideally there should be an ant task to automatically extract those files from 
the W3C external URLs, and build the catalog file. In the meantime they may be 
hard-wired into the Woden test suite (as the W3C tests currently are).

Also, decide upon and implement the means of running the tests in this mode. 
The Resolver and catalog are referenced at run-time via system properties. A 
JUnit test-suite could be created for each implemented Resolver to set 
properties accordingly, and call AllWodenTests.suite() in a simulated offline 
mode (eg. by "tampering" with http system properties).

Should the complete test-suite *always* be run multiple times (connected, and 
disconnected) for each supported Woden URI Resolver); or limit the offline 
tests to W3C tests only (by default at least)? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to