Merge pull request #136 from Rav3nPL/patch-1
[p2pool.git] / wstools / tests / README
1 Two top level modules have been provided to run the tests. "test_wstools.py"
2 is used to run all of the local tests. "test_wstools_net.py" is used to run
3 all of the tests that require network access.
4
5 Add the -v option for more informative feedback.
6
7 ADDING TESTS:
8     1. For Stand-Alone tests add WSDL FILE to appropriate archive file
9         Need to add a NEW Archive?:
10             config.txt [files] "archive" -- tuple of all archive files, 
11             if you need to create a new archive append the archive 
12             name to the 'archive' tuple.
13
14     2. Edit config.txt section(s):
15         option -- name by which service will be referenced in test case.
16             Need an entry under appropriate section(s), this name
17             must be unique within each section it appears but it may 
18             appear in multiple sections.
19
20         config.txt "test" sections:
21           Stand-Alone --  add "option" under [services_by_file]
22                 eg. amazon = exports/AmazonWebServices.wsdl
23
24           Network -- add "option" under [services_by_http]
25                 eg. amazon = http://soap.amazon.com/schemas/AmazonWebServices.wsdl
26
27           Broken -- add "option" under [broken]
28
29     3. Done
30
31
32 CONTENTS OF SAMPLE WSDL/XSD:
33     schema -- Taken from globus-3.0.1(http://www.globus.org)
34     xmethods -- Taken from XMethods(http://www.xmethods.com)
35          airport.wsdl
36          AmazonWebServices.wsdl
37          books.wsdl
38          Distance.wsdl
39          freedb.wsdl
40          globalweather.wsdl
41          IHaddock.wsdl
42          ip2geo.wsdl
43          magic.wsdl
44          query.wsdl
45          RateInfo.wsdl
46          SHA1Encrypt.wsdl
47          siteInspect.wsdl
48          TemperatureService.wsdl
49          usweather.wsdl
50          rtf2html.xml
51          SolveSystem.wsdl.xml
52          zip2geo.wsdl