Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Beehive Wiki" for 
change notification.

The following page has been changed by EddieOneil:
http://wiki.apache.org/beehive/For_Beehive_Developers

The comment on the change is:
Few more comments about testing.

------------------------------------------------------------------------------
  
  = Testing in Beehive =
  
- In general, tests that must be run before every checkin are "drts" (developer 
regression tests), and longer tests that are run regularly (but not before 
every checkin) are "bvts" (build verification tests).  The "drt" ant target 
exists at the root of the tree, and in each subproject.
+ In general, tests that must be run before every checkin are "drts" (developer 
regression tests), and longer tests that are run regularly (but not before 
every checkin) are "bvts" (build verification tests).  The "drt" ant target 
exists at the root of the tree, and in each subproject.  DRTs are run in each 
subproject using the command:
  
- To run a full suite of tests against the built distribution, do this:
  {{{
-     cd trunk/ant
-     ant -f nightly.xml run
+   cd <sub-project>
+   ant drt
  }}}
+ 
+ BVTs are run in each project with a similar command: 
+ 
+ {{{
+   cd <sub-project>
+   ant bvt
+ }}}
+ 
+ In both cases, the tests passed when Ant displays the usual BUILD SUCCESSFUL 
message.  When the tests fail, the BUILD FAILED message is shown and detailsa 
about the failures can be found in each test suite's log files.
  
  Specific information on testing in each subproject can be found here:
   * [wiki:NetUI/Testing NetUI]
   * [wiki:Controls/TestingControls Controls]
   * System Controls
   * WSM
+ 
+ To run a full build and test suite against *both* the SVN tree and 
distribution, run:
+ {{{
+     cd ant
+     ant -f nightly.xml run
+ }}}
+ 
+ This target can take over an hour to run depending on the computer hardware.  
It will run all of the DRTs and BVTs for each sub-project in Beehive.
  
  = Coding Conventions =
  

Reply via email to