[mapguide-commits] r7674 - trunk/MgDev/UnitTest/WebTier/DotNet

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jul 8 07:48:37 PDT 2013


Author: jng
Date: 2013-07-08 07:48:36 -0700 (Mon, 08 Jul 2013)
New Revision: 7674

Modified:
   trunk/MgDev/UnitTest/WebTier/DotNet/readme.txt
Log:
#2307: Update readme

Modified: trunk/MgDev/UnitTest/WebTier/DotNet/readme.txt
===================================================================
--- trunk/MgDev/UnitTest/WebTier/DotNet/readme.txt	2013-07-08 14:35:50 UTC (rev 7673)
+++ trunk/MgDev/UnitTest/WebTier/DotNet/readme.txt	2013-07-08 14:48:36 UTC (rev 7674)
@@ -1,3 +1,6 @@
+About
+=====
+
 This is the .net port of the PHP test runner for unit testing the language bindings to the MapGuide Web API.
 
 This test runner differs from the PHP one in the following ways:
@@ -4,4 +7,17 @@
 
  - It does not support test update/generation. Use the existing PHP runner to do that.
  - Does not support the HTTP API tests. The PHP test runner already covers this and duplicating it in .net serves no real purpose.
- - It is strictly for running from the command-line and not within a web browser.
\ No newline at end of file
+ - It is strictly for running from the command-line and not within a web browser.
+
+Running the test suite
+======================
+
+1. Run the MapGuide Server
+2. Build the DotNet.sln
+3. Run the MgTestRunner like so:
+
+ MgTestRunner.exe "../../../web/src/webconfig.ini" "../../../Oem/CsMap/Dictionaries"
+ 
+The paths in those arguments are relative to the directory containing the MgTestRunner.exe executable.
+
+Test results (and failures) are written to UnitTest.log. The return code of MgTestRunner.exe is the number of failed tests. A return code of 0 means all tests have passed.
\ No newline at end of file



More information about the mapguide-commits mailing list