Last change
on this file since 124 was
104,
checked in by boris, 19 years ago
|
- elements in projects view made double-clickable
|
File size:
935 bytes
|
Line | |
---|
1 | Some information about working on MDT regression tests set. |
---|
2 | |
---|
3 | Project Name |
---|
4 | ------------ |
---|
5 | Many test cases need to create a projects to setup the environment for testing. |
---|
6 | Becouse all the tests are run in the same workspace there is a risk of |
---|
7 | conflicts in the projects namespace between different test cases. To avoid this |
---|
8 | and to simplify maintainance of the tests, following scheme should be used apon |
---|
9 | creation of guinnia pig projects. |
---|
10 | |
---|
11 | For each created project a constant PROJECT_NAME_n must be created. The constant |
---|
12 | should be assigned value of TestCaseName.class.getName() + "1". For example test |
---|
13 | case TestFoo, which will create two project will contain following constant |
---|
14 | declaration: |
---|
15 | |
---|
16 | public class TestFoo extends TestCase |
---|
17 | { |
---|
18 | private static final String PROJECT_NAME_1 = |
---|
19 | TestFoo.class.getName() + "1"; |
---|
20 | |
---|
21 | private static final String PROJECT_NAME_2 = |
---|
22 | TestFoo.class.getName() + "2"; |
---|
23 | |
---|
24 | // ..... |
---|
25 | } |
---|
26 | |
---|
Note: See
TracBrowser
for help on using the repository browser.