Changeset 264


Ignore:
Timestamp:
01/19/06 18:24:02 (19 years ago)
Author:
boris
Message:
  • a bunch of cosmetic changes
Location:
docs
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • docs/HACKING

    r247 r264  
    5757version 1.0rc1 or later plugin. It is available from
    5858http://prdownloads.sourceforge.net/abbot/abbot_1.0-rc1-eclipse-3.0.zip?download
     59
     60¤¤ PROJECTS FOR REGRESSION TESTS
     61
     62Many test cases need to create a projects to setup the environment for testing.
     63Becouse all the tests are run in the same workspace there is a risk of
     64conflicts in the projects namespace between different test cases. To avoid this
     65and to simplify maintainance of the tests, following scheme should be used apon
     66creation of guinnia pig projects.
     67
     68For each created project a constant PROJECT_NAME_n must be created. The constant
     69should be assigned value of TestCaseName.class.getName() + "1". For example test
     70case TestFoo, which will create two project will contain following constant
     71declaration:
     72
     73public class TestFoo extends TestCase
     74{
     75    private static final String PROJECT_NAME_1 =
     76        TestFoo.class.getName() + "1";
     77
     78    private static final String PROJECT_NAME_2 =
     79        TestFoo.class.getName() + "2";
     80   
     81    // .....
     82}
    5983
    6084¤ INSTRUMENTATION
Note: See TracChangeset for help on using the changeset viewer.