|
1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: This is STIFTestFramework initialization file |
|
15 # Comment lines start with '#'-character. |
|
16 # See STIF TestFramework users guide.doc for instructions |
|
17 # |
|
18 # |
|
19 |
|
20 |
|
21 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
22 # Set following test engine settings: |
|
23 # - Set Test Reporting mode. TestReportMode's possible values are: |
|
24 # + 'Summary': Summary of the tested test cases. |
|
25 # + 'Environment': Hardware and software info. |
|
26 # + 'TestCases': Test case report. |
|
27 # + 'FullReport': Set of all above ones. |
|
28 # + Example 'TestReportMode= Summary TestCases' |
|
29 # |
|
30 # - CreateTestReport setting controls report creation mode |
|
31 # + YES, Test report will created. |
|
32 # + NO, No Test report. |
|
33 # |
|
34 # - File path indicates the base path of the test report. |
|
35 # - File name indicates the name of the test report. |
|
36 # |
|
37 # - File format indicates the type of the test report. |
|
38 # + TXT, Test report file will be txt type, for example 'TestReport.txt'. |
|
39 # + HTML, Test report will be html type, for example 'TestReport.html'. |
|
40 # |
|
41 # - File output indicates output source of the test report. |
|
42 # + FILE, Test report logging to file. |
|
43 # + RDEBUG, Test report logging to using rdebug. |
|
44 # |
|
45 # - File Creation Mode indicates test report overwriting if file exist. |
|
46 # + OVERWRITE, Overwrites if the Test report file exist. |
|
47 # + APPEND, Continue logging after the old Test report information if |
|
48 # report exist. |
|
49 |
|
50 [Engine_Defaults] |
|
51 |
|
52 TestReportMode= FullReport # Possible values are: |
|
53 # 'Summary', 'Environment', 'TestCases' or 'FullReport' |
|
54 |
|
55 CreateTestReport= YES # Possible values: YES or NO |
|
56 |
|
57 TestReportFilePath= C:\LOGS\TestFramework\ |
|
58 TestReportFileName= TestReport |
|
59 |
|
60 TestReportFormat= TXT # Possible values: TXT or HTML |
|
61 TestReportOutput= FILE # Possible values: FILE or RDEBUG |
|
62 TestReportFileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND |
|
63 |
|
64 [End_Defaults] |
|
65 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
66 |
|
67 |
|
68 |
|
69 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
70 # Module configurations start |
|
71 # Modules are added between module tags |
|
72 # tags. Module name is specified after ModuleName= tag, like |
|
73 # ModuleName= XXXXXXXXX |
|
74 # Modules might have initialisation file, specified as |
|
75 # IniFile= YYYYYY |
|
76 # Modules might have several configuration files, like |
|
77 # TestCaseFile= NormalCases.txt |
|
78 # TestCaseFile= SmokeCases.txt |
|
79 # TestCaseFile= ManualCases.txt |
|
80 |
|
81 # (TestCaseFile is synonym for old term ConfigFile) |
|
82 |
|
83 # Following case specifies demo module settings. Demo module |
|
84 # does not read any settings from file, so tags |
|
85 # IniFile and TestCaseFile are not used. |
|
86 # In the simplest case it is enough to specify only the |
|
87 # name of the test module when adding new test module |
|
88 |
|
89 [New_Module] |
|
90 ModuleName= dsytfstifadapter |
|
91 [End_Module] |
|
92 |
|
93 |
|
94 #Load testmoduleXXX, optionally with initialization file and/or test case files |
|
95 #[New_Module] |
|
96 #ModuleName= testmodulexxx |
|
97 |
|
98 #TestModuleXXX used initialization file |
|
99 #IniFile= init.txt |
|
100 |
|
101 #TestModuleXXX used configuration file(s) |
|
102 #TestCaseFile= testcases1.cfg |
|
103 #TestCaseFile= testcases2.cfg |
|
104 #TestCaseFile= manualtestcases.cfg |
|
105 |
|
106 #[End_Module] |
|
107 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
108 |
|
109 |
|
110 |
|
111 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
112 # Set STIFTestFramework logging overwrite parameters for Logger. |
|
113 # Hardware and emulator environment logging path and styles can |
|
114 # be configured from here to overwrite the Logger's implemented values. |
|
115 # |
|
116 # Settings description: |
|
117 # - Indicates option for creation log directory/directories. If log directory/directories |
|
118 # is/are not created by user they will make by software. |
|
119 # + YES, Create log directory/directories if not allready exist. |
|
120 # + NO, Log directory/directories not created. Only created one is used. |
|
121 # |
|
122 # - Overwrite emulator path setting. |
|
123 # + Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined |
|
124 # Logger's path 'D:\\LOGS\\Module\\' with those definition the path |
|
125 # will be 'C:\LOGS\TestFramework\LOGS\Module\' |
|
126 # |
|
127 # - Overwrite emulator's logging format. |
|
128 # + TXT, Log file(s) will be txt type(s), for example 'Module.txt'. |
|
129 # + HTML, Log file(s) will be html type(s), for example 'Module.html'. |
|
130 # |
|
131 # - Overwrited emulator logging output source. |
|
132 # + FILE, Logging to file(s). |
|
133 # + RDEBUG, Logging to using rdebug(s). |
|
134 # |
|
135 # - Overwrite hardware path setting (Same description as above in emulator path). |
|
136 # - Overwrite hardware's logging format(Same description as above in emulator format). |
|
137 # - Overwrite hardware's logging output source(Same description as above in emulator output). |
|
138 # |
|
139 # - File Creation Mode indicates file overwriting if file exist. |
|
140 # + OVERWRITE, Overwrites if file(s) exist. |
|
141 # + APPEND, Continue logging after the old logging information if file(s) exist. |
|
142 # |
|
143 # - Will thread id include to the log filename. |
|
144 # + YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'. |
|
145 # + NO, No thread id to log file(s), Example filename 'Module.txt'. |
|
146 # |
|
147 # - Will time stamps include the to log file. |
|
148 # + YES, Time stamp added to each line in log file(s). Time stamp is |
|
149 # for example'12.Nov.2003 115958 LOGGING INFO' |
|
150 # + NO, No time stamp(s). |
|
151 # |
|
152 # - Will line breaks include to the log file. |
|
153 # + YES, Each logging event includes line break and next log event is in own line. |
|
154 # + NO, No line break(s). |
|
155 # |
|
156 # - Will event ranking include to the log file. |
|
157 # + YES, Event ranking number added to each line in log file(s). Ranking number |
|
158 # depends on environment's tics, for example(includes time stamp also) |
|
159 # '012 12.Nov.2003 115958 LOGGING INFO' |
|
160 # + NO, No event ranking. |
|
161 # |
|
162 |
|
163 [Logger_Defaults] |
|
164 |
|
165 #NOTE: If you want to set Logger using next setting(s) remove comment(s)'#' |
|
166 |
|
167 #CreateLogDirectories= YES # Possible values: YES or NO |
|
168 |
|
169 #EmulatorBasePath= C:\LOGS\TestFramework\ |
|
170 #EmulatorFormat= HTML # Possible values: TXT or HTML |
|
171 #EmulatorOutput= FILE # Possible values: FILE or RDEBUG |
|
172 |
|
173 #HardwareBasePath= D:\LOGS\TestFramework\ |
|
174 #HardwareFormat= HTML # Possible values: TXT or HTML |
|
175 #HardwareOutput= FILE # Possible values: FILE or RDEBUG |
|
176 |
|
177 #FileCreationMode= OVERWRITE # Possible values: OVERWRITE or APPEND |
|
178 |
|
179 #ThreadIdToLogFile= YES # Possible values: YES or NO |
|
180 #WithTimeStamp= YES # Possible values: YES or NO |
|
181 #WithLineBreak= YES # Possible values: YES or NO |
|
182 #WithEventRanking= YES # Possible values: YES or NO |
|
183 |
|
184 [End_Logger_Defaults] |
|
185 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
|
186 |
|
187 # End of file |