Date: 2005-01-28T09:51:01
   Editor: ZacharySmith
   Wiki: Apache Beehive Wiki
   Page: Controls/TestingControls/Milton
   URL: http://wiki.apache.org/beehive/Controls/TestingControls/Milton

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -1,5 +1,15 @@
+= Overview =
 Milton is a part test framework and utility and part methodology.  It is 
comprised of a three parts. [[BR]]
 
  * JUnit `TestCase` classes (`HtmlReportTestCase` and `SOAPReportTestCase`) 
for invoking Milton style tests through JPF|JSP and JWS respectively.
  * A Report class which is returned by a test method and analyzed by the 
`TestCase`.
- * Support for generating client code for excercising a Control.  Using a 
["Mantis"] processor the Milton generator will parse Controls test files, 
called Drivers and generate the corresponding JPF, JWS, and JUnit accessors 
allowing the test author to focus on writing the test logic and get end-to-end 
testing virtually for free.
+ * Support for generating client code for excercising a Control.  Using a 
["Mantis"] processor the Milton generator will parse Controls test files, 
called Drivers and generate the corresponding JPF, JWS, and JUnit accessors 
allowing the test author to focus on writing the test logic and get end-to-end 
testing virtually for free.[[BR]]
+
+= The Basics =
+
+The main idea behind Milton is to make it easier and faster to write 
end-to-end tests for the Beehive Controls framework.  We want to be able to 
verify that all features Controls work in the two Control client contexts in 
Beehive:  Java Page Flows (JPF) and the JSR-181 implementation of Java Web 
Services (JWS).  "Note: Jave Web Services in Beehive are called WebServices 
Metadata (WSM) but use the .jws file extension."  To accomplish this we have 
broken the tests into four pieces.
+
+ * 1. The Control being used for testing.
+ * 2. A POJO called a Driver which contains the logic which excercises the 
control and dertermins PASS/FAIL/ABORT
+ * 3. A Client of the control (JPF, JWS, Java)
+ * 4. A JUnit file which is used to access and trigger the client test methods.

Reply via email to