Changes for page Thrash Testing

Last modified by Ray Kiddy on 2009/11/04 13:00

From version 4.1
edited by Ray Kiddy
on 2009/11/03 11:51
Change comment: adding info on necessary parameters
To version 5.1
edited by Ray Kiddy
on 2009/11/04 13:00
Change comment: add note about parameterization of inner class

Summary

Details

Page properties
Content
... ... @@ -12,6 +12,14 @@
12 12  
13 13  There is a target defined in ant which will run a pre-defined set of schemes.
14 14  
15 +One can pass in a string parameter to the tests. This can, of course, be used for any purpose. For example, the SimpleInsertTest inner class can use a subclass of EOEditingContext instead of using EOEditingContext itself. Thus, the same test as above can be run using ERXEC with this command:
16 +
17 +{{code}}
18 +
19 +scheme:SimpleInsertTest:er.extensions.eof.ERXEC:0-5,5-10,15-10,20-10
20 +
21 +{{/code}}
22 +
15 15  This set of commands will compile the tests (the ERXThrashTest class compilation is conditional on having "include.tests=true" defined in the ant build of the ERExtensions project) and run the thrash tests:
16 16  
17 17  {{code}}