X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=web%2Ftesting;h=ab60d7fe4d3f88aef1074b23f49c955a094f9b45;hb=4347c57e9783cf9348af2e0ec773024ab6d9b9fc;hp=555491b6ae310ed258c720cf9888ca1ce1b7f880;hpb=278c916722c7a7698a38136ace5155f65a17ef93;p=mono.git
diff --git a/web/testing b/web/testing
index 555491b6ae3..ab60d7fe4d3 100644
--- a/web/testing
+++ b/web/testing
@@ -1,5 +1,7 @@
* Testing
+ Daily test results.
+
Testing is an important part of the Mono project: every one of its
three major components has a test suite tailored for its needs. This
is very helpful, because in the course of developing the software it
@@ -19,6 +21,9 @@
the virtual machine.
ASP.NET tests: ASP.NET tests.
+
+ Web Services tests: Web Services
+ client/server tests.
@@ -49,9 +54,11 @@
* System.Web/Test/TestMonoWeb : see README
* System.Web.Services/Test/standalone : see README
* System.Windows.Forms/SWFTest/
- * System.XML/Tests/System.Xml.Schema/standalone_tests : see README
+ * System.XML/Test/System.Xml/standalone_tests : see README
+ * System.XML/Test/System.Xml.Schema/standalone_tests : see README
* System.XML/System.Xml.Serialization/standalone_tests/
- * System.XML/Tests/System.Xml.Xsl/standalone_tests : see README
+ * System.XML/Test/System.Xml.Xsl/standalone_tests : see README
+ * Commons.Xml.Relaxng/Test/standalone_tests : see README
@@ -81,8 +88,8 @@
testing.
Once all of that is done, you can do a 'make test' from the top mcs
- directory. Your test class will be automagically included in the
- build and the tests will be run along with all the others.
+ directory. Your test class needs also to be listed in the
+ .sources file at the top of the Test directory.
* Tips on writing Unit tests.
@@ -151,7 +158,7 @@
bug in their runtime or something is misleading or wrong in their
documentation. In this case, please put a detailed description of the
problem to mcs/class/doc/API-notes and do also report it to the
- mailing list - we'll forward this to the
+ mailing list - we'll forward this to the
Microsoft people from time to time to help them fix their documentation
and runtime.
@@ -228,3 +235,39 @@
nunit-console standalone-tests.dll
+
+* Web Services tests
+
+ The Test directory for the System.Web.Services assembly contains a
+ standalone test suite for testing web services. It tests:
+
+
+ - Proxy generation using the wsdl tool
+ - Access to web services using the generated client proxies
+ - Execution of web services in the server
+
+
+ This suite not only tests web services running on XSP, but it can also test
+ services running on other platforms and that are available in internet. This
+ will help track down interoperability issues.
+
+ To build the test suite, just run:
+
+
+ cd mcs/class/System.Web.Services/Test/standalone
+ xsp --root server
+
+
+ And from another terminal:
+
+ cd mcs/class/System.Web.Services/Test/standalone
+ make
+ nunit-console testclient.dll
+
+
+ This will download the wsdl documents, generate the proxies, build a dll with
+ the proxies, and build the nunit tests. Then you can use nunit-console or
+ gnunit to run the tests (the nunit dll is testclient.dll).
+
+ Read the README file in mcs/class/System.Web.Services/Test/standalone for
+ more info.