You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by da...@apache.org on 2004/06/08 21:58:18 UTC

cvs commit: xml-xmlbeans/v2/test/docs BuildingAndRunningTests.txt

daveremy    2004/06/08 12:58:18

  Modified:    v2       README.txt
               v2/test/docs BuildingAndRunningTests.txt
  Log:
  Contributed by Yana Kadiyska
  
  Revision  Changes    Path
  1.3       +16 -14    xml-xmlbeans/v2/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/README.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- README.txt	16 May 2004 15:58:09 -0000	1.2
  +++ README.txt	8 Jun 2004 19:58:18 -0000	1.3
  @@ -1,14 +1,16 @@
  -This directory will contain preliminary code being investigated that
  -eventually will become the next major revision of XMLBeans.
  -
  -Since v2 will likely break some fundamental assumptions of that are
  -made by v1, v2 will be done as a new codeline here.
  -
  -The code today (2003-09-24) is in a very preliminary state (actually
  -as of today, nothing is checked in here), so should be seen as
  -very early work.  As v2 progresses, this notice will be updated.
  -
  -Minor bugfixes and small features should be made in the v1 directory; as
  -the v2 project ramps up, we all will need to make sure that fixes that
  -are applicable to both v1 and v2 are merged into both trees.
  -
  +This directory will contain preliminary code being investigated that
  +eventually will become the next major revision of XMLBeans.
  +
  +Since v2 will likely break some fundamental assumptions of that are
  +made by v1, v2 will be done as a new codeline here.
  +
  +The code today (2003-09-24) is in a very preliminary state (actually
  +as of today, nothing is checked in here), so should be seen as
  +very early work.  As v2 progresses, this notice will be updated.
  +
  +Minor bugfixes and small features should be made in the v1 directory; as
  +the v2 project ramps up, we all will need to make sure that fixes that
  +are applicable to both v1 and v2 are merged into both trees.
  +
  +The test folder under v2 has a bunch of tests checked in whose aim is to test the xbean product. The test folder has a readme.txt on how to run the tests and what tests needs to be run before checkining in code.
  +
  
  
  
  1.2       +13 -6     xml-xmlbeans/v2/test/docs/BuildingAndRunningTests.txt
  
  Index: BuildingAndRunningTests.txt
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/test/docs/BuildingAndRunningTests.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BuildingAndRunningTests.txt	8 Jun 2004 19:38:00 -0000	1.1
  +++ BuildingAndRunningTests.txt	8 Jun 2004 19:58:18 -0000	1.2
  @@ -3,18 +3,19 @@
   Requirements:
   * The Apache XmlBeans source from CVS.
   * Ant version 1.6 or higher
  -* JAVA_HOME
  -  ANT_HOME (Requires Ant 1.6 or higher) are set
  +* Ensure  JAVA_HOME and ANT_HOME (Requires Ant 1.6 or higher) are set up in your environment
   
   BUILDING TESTS:
   * Change to xml-xmlbeans\v2 in the CVS download location.
  -
  -* Edit xbeanenv.cmd|sh and set the following variables
  -  
  -
   * To build tests run
     ant testbuild
   
  +BUILING AND RUNNING CHECKIN TESTS:
  +(NOTE: does not perform a checkin, just runs tests)
  +* Change to xml-xmlbeans\v2 in the CVS download location.
  +* build xml-beans
  +* run "ant checkintest"
  +
   
   Additional build sub-targets
   -------------------------------
  @@ -45,6 +46,9 @@
           best to have the leading **/ in the expression.
           To run a single test try "**/test/package/TestClass"
   
  + Example: Run all dom tests
  +      ant run.junit -Dtests.spec="**/dom/**" -Dshowoutput=true
  +
     showoutput controls if the output from the tests is displayed on the console.
     This is dependent on the Result formatter used by the JUnitX runner. The Xml
     Formatter thats comes with the JUnitX runner captures output and records it in
  @@ -68,6 +72,9 @@
     ant clean.tests                       // Removes any built test files.
     ant testbuild -Dbuild.area=<area>     // Build only that area.
     ant run.junit [-Dtests.spec="..."]    // Run the tests
  +
  +  Example: Build all dom tests
  +      ant testbuild -Dbuild.area=dom
   
     All the targets can be chained together in one command
     ant clean.tests testbuild -Dbuild.area=... run.junit [-Dtests.spec=...]
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org