|
1 ---------------------------------------------------------------------------------------------------------------------- |
|
2 _________ |
|
3 TEST DATA |
|
4 _________ |
|
5 |
|
6 INI files are used to specify the data for PREQ871. |
|
7 INI files contain the data for all the test cases for PREQ871. |
|
8 |
|
9 The structure of data in INI file is divided into 3 parts : |
|
10 1. DSC UID |
|
11 This is the UID to be created/modified for the particular DSC. |
|
12 2. AMA |
|
13 This contains the AMA filenames and arguments which will be passed to the EXE/APP during its launch. |
|
14 Various commands can be mentioned here with respect to AMA Params like CreateWith,ModifyWith or CompareWith. |
|
15 CreateWith command creates the AMA record in the data store with AMA params mentioned. |
|
16 CompareWith command compares the parameters specified in the data (INI) file with that present in the |
|
17 data store. |
|
18 ModifyWith command updates the DSC record with the AMA parameters. |
|
19 The commands are mentioned with AMA Params, to be used for creation, updation or comparison. |
|
20 3. AMA Params |
|
21 |
|
22 The division of data in the above metioned way in the data (INI) file, make reuse of the same data for multiple test |
|
23 cases possible. Same AMAs or same AMA Params can be used for multiple test cases and thus preventing the over growing |
|
24 of test data without any specific requirement. |
|
25 |
|
26 ---------------------------------------------------------------------------------------------------------------------- |
|
27 ________________ |
|
28 ENUMERATION FILE |
|
29 ________________ |
|
30 |
|
31 To make the data in the data file (INI) readable, the actual enums are specified there which are used in production code. |
|
32 There can be multiple enum files (../sysstarttest/ini/tdscstore_enumfile.ini) if required , and the enumfile can be specified in |
|
33 the test data file, which will be used to resolve the enumerations to actual value. |
|
34 Allowing this way, we may not be required to change the test code with any new values introduced or any existing values |
|
35 modified. |
|
36 |
|
37 ---------------------------------------------------------------------------------------------------------------------- |