Files
mono/mcs/class/System.Web/Test/mainsoft/MainsoftWebTest
Marek Habersack 7804364216 2010-01-14 Marek Habersack <[email protected]>
* Helpers.cs, ITestCase.cs, ITestRunner.cs, StandaloneTest.cs,
	TestCallback.cs, TestCaseAttribute.cs,
	TestCaseFailureException.cs, TestRunItem.cs, TestRunner.cs,
	TestWorkerRequest.cs: added

2010-01-14  Marek Habersack  <[email protected]>

	* System.Web_standalone_test.dll.sources,
	standalone-runner-support.dll.sources: added

	* Makefile: Added targets to build and run standalone tests.
	Added standalone tests and test tools to EXTRA_DISTFILES

2010-01-14  Marek Habersack  <[email protected]>

	* Consts.cs.in, Locations.cs: added

2010-01-14  Marek Habersack  <[email protected]>

	* standalone-runner.cs: added

	* Makefile: added build targets for standalone-runner.exe

2010-01-14  Marek Habersack  <[email protected]>

	* NunitWebTest.cs: added new overload of GetControlFromPageHtml
	which takes begin and end markers as parameters.

2010-01-14  Marek Habersack  <[email protected]>

	* ApplicationManager.cs: implemented a missing CreateObject
	overload

2010-01-14  Marek Habersack  <[email protected]>

	* executable.make, library.make, rules.make: quote file name
	wherever referenced in dist* targets, so that files with spaces in
	name work fine.

svn path=/trunk/mcs/; revision=149522
2010-01-14 01:15:01 +00:00
..
…

System.Web test harness
============================

This harness is a part of System.Web tests set. It's target to run web tests deployed in application 
server and compare with predefined results. (Web tests are web application)

Harness usage:

SystemWebTest.exe [-e | -t <web tests base url>] [-c <tests catalog>] [-i <ignore list>] [-o <output dir>]

-e		This will collect expected results for future test runs. Expected results should be
		collected from the same tests web application deployed in IIS on windows system.
		Parameter baseUrl must be provided.

-t		This will run all tests. Expected results must be exist at this stage.

-o		Specifies folder where expected results will be placed during collecting or where from 
		expected results will be taken during tests run. The default vaule is current folder.
		
-i		Specifies xml file with ignore filters list. Default value is almost_config.xml

-c		Specifies xml file with test cases catalog. Default value is test_catalog.xml

-na		Run without almost mechanizm.

-x		Run exluded tests. These tests have EXCLUDE="Y" attribute in test_catalog.xml file.

Examples: 

SystemWebTest.exe -t http://localhost/MainsoftWebApp
This will collect results from local web serer and store it in current folder.

SystemWebTest.exe -e http://iissite/System_Web_dll -t http://localhost:8080/MainsoftWebApp -o test123
This will collect results from iissite and store it in folder test123 then run tests on local web server.

Running with NUnit:

Build this harness with -define:NUNIT compilation constant. 
Run nunit-console.exe with /fixture:MonoTests.stand_alone.WebHarness.Harness parameter.