for TARGET_J2EE only:
[mono.git] / mcs / class / System.Web / Test / mainsoft / MainsoftWebTest / readme.txt
1 System.Web test harness
2 ============================
3
4 This harness is a part of System.Web tests set. It's target to run web tests deployed in application 
5 server and compare with predefined results. (Web tests are web application)
6
7 Harness usage:
8
9 SystemWebTest.exe [-e | -t <web tests base url>] [-c <tests catalog>] [-i <ignore list>] [-o <output dir>]
10
11 -e              This will collect expected results for future test runs. Expected results should be
12                 collected from the same tests web application deployed in IIS on windows system.
13                 Parameter baseUrl must be provided.
14
15 -t              This will run all tests. Expected results must be exist at this stage.
16
17 -o              Specifies folder where expected results will be placed during collecting or where from 
18                 expected results will be taken during tests run. The default vaule is current folder.
19                 
20 -i              Specifies xml file with ignore filters list. Default value is almost_config.xml
21
22 -c              Specifies xml file with test cases catalog. Default value is test_catalog.xml
23
24 -na             Run without almost mechanizm.
25
26 -x              Run exluded tests. These tests have EXCLUDE="Y" attribute in test_catalog.xml file.
27
28 Examples: 
29
30 SystemWebTest.exe -t http://localhost/MainsoftWebApp
31 This will collect results from local web serer and store it in current folder.
32
33 SystemWebTest.exe -e http://iissite/System_Web_dll -t http://localhost:8080/MainsoftWebApp -o test123
34 This will collect results from iissite and store it in folder test123 then run tests on local web server.
35
36 Running with NUnit:
37
38 Build this harness with -define:NUNIT compilation constant. 
39 Run nunit-console.exe with /fixture:MonoTests.stand_alone.WebHarness.Harness parameter.