-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCppTestConfig.ini
240 lines (194 loc) · 5.02 KB
/
CppTestConfig.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
#-------------------------------------------------------------------------------------
# This is a model of the configuration file necessary to run the test case logger
# There are 8 fields available for logging
# ID String Unique identifier for the test case. This is the test name
# you created.
# Status String Status of the test
# SetupTime Time required to run the setup for the test in milliseconds.
# ExecTime Time to execute the test in milliseconds.
# CleanupTime Time required to clean up after the test in milliseconds.
# Description Test description that you entered when you created it.
# Message Message from logging. This could be an error string you entered in
# the test case.
# VerboseMessage Message from any Verbose Message functions you called in the test
# case you created.
#-------------------------------------------------------------------------------------
[Dummy]
d1=blah
[LogList]
Set1=ConsoleOutput
#Set2=SampleFileOutput
#Set3=SampleSQLOutput
#Set4=SampleSQLOutput2
# ------ Console output --------------------------------------------
#
[ConsoleOutput]
OutputType=CONSOLE
LogType=CSV
SummaryOutputName=ConsoleSummary
FieldList=ConsoleFieldList
OutputSyntax=CSV
Overwrite=false
[ConsoleFieldList]
ID=
Status=
SetupTime=
ExecTime=
CleanupTime=
Description=
Message=
VerboseMessage=
[ConsoleSummary]
OutputType=CONSOLE
LogType=CSV
SummaryOutputName=
FieldList=ConsoleSummaryFieldList
OutputSyntax=CSV
Overwrite=false
[ConsoleSummaryFieldList]
SuccessCount=integer
FailInitCount=integer
FailSetupCount=integer
FailTestCount=integer
FailCleanupCount=integer
NotExistCount=integer
TotalCount=integer
# ------ SQLServer Syntax section ----------------
# Refered to from an output 'OutputSyntax' entry.
#--------------------------------------------------
#[CSV]
#CreateTableStmtTemplate=CREATE TABLE @ (#)
#DropTableStmtTemplate=DROP TABLE @
#InsertStmtTemplate=INSERT INTO @ (#) VALUES (&)
#StringDelimiter='
#FieldDelimiter=,
#DsnName=TestDS
#User=
#AuthorisationString=
#ODBCVersion=3
#ConnectTimeoutSeconds=8
# ------ Sample of a Text Stream Definition section --------
# must be present to use a text log.
# Example uses SQLServer syntax. Yours may vary.
[CSV]
StringDelimiter=
FieldDelimiter=,
# ------ SQLServer Syntax section ----------------
# Refered to from an output 'OutputSyntax' entry.
#--------------------------------------------------
[SQLServer]
CreateTableStmtTemplate=CREATE TABLE @ (#)
DropTableStmtTemplate=DROP TABLE @
InsertStmtTemplate=INSERT INTO @ (#) VALUES (&)
StringDelimiter='
FieldDelimiter=,
DsnName=TestDS
User=
AuthorisationString=
ODBCVersion=3
ConnectTimeoutSeconds=8
# ------ Sample of a file output --------
[SampleFileOutput]
OutputType=File
LogType=CSV
SummaryOutputName=SampleFileSummary
FieldList=SampleFileFieldList
AutoGenUniqueFileName=false
OutputSyntax=CSV
OutputName=outputFile.txt
Overwrite=false
[SampleFileFieldList]
RunId=
ID=
Status=
SetupTime=
ExecTime=
CleanupTime=
Description=
Message=
VerboseMessage=
[SampleFileSummary]
OutputType=File
LogType=CSV
OutputName=summaryFile.txt
FieldList=FileSummaryFieldList
AutoGenUniqueFileName=false
SummaryOutputName=
OutputSyntax=CSV
Overwrite=false
[FileSummaryFieldList]
SuccessCount=integer
FailInitCount=integer
FailSetupCount=integer
FailTestCount=integer
FailCleanupCount=integer
NotExistCount=integer
TotalCount=integer
# ------ Sample of a SQL output --------
[SampleSQLOutput]
LogType=SQL
OutputType=ODBC
OutputName=OutputTableName
SummaryOutputName=SampleSQLSummaryOutput
FieldList=SampleSQLFieldList
Overwrite=true
AutoGenUniqueFileName=false
OutputSyntax=SQLServer
[SampleSQLFieldList]
RunId=char(20)
ID=char(25)
Status=char(20)
SetupTime=integer
ExecTime=integer
CleanupTime=integer
Description=char(50)
Message=char(75)
VerboseMessage=char(500)
# ------ Another Sample of a SQL output --------
# same summary file
[SampleSQLOutput2]
LogType=SQL
OutputType=ODBC
OutputName=PerformaceOutputTableName
SummaryOutputName=SampleSQLSummaryOutput
FieldList=PerformanceSQLFieldList
Overwrite=true
AutoGenUniqueFileName=false
OutputSyntax=SQLServer
[PerformanceSQLFieldList]
RunId=char(20)
ID=char(25)
Status=char(20)
SetupTime=integer
ExecTime=integer
CleanupTime=integer
# ------ Sample of a SQL summary output --------
[SampleSQLSummaryOutput]
LogType=SQL
OutputType=ODBC
OutputName=OutputSummaryTableName
SummaryOutputName=
FieldList=SampleSQLSummaryFieldList
Overwrite=false
AutoGenUniqueFileName=false
OutputSyntax=SQLServer
[SampleSQLSummaryFieldList]
RunId=char(20)
SuccessCount=integer
FailInitCount=integer
FailSetupCount=integer
FailTestCount=integer
FailCleanupCount=integer
NotExistCount=integer
TotalCount=integer
#===========================================================
# ------ Sample of a Common output property listing --------
[xxSampleOutput]
OutputType=ODBC/CONSOLE/FILE
OutputName=OutputTableName/filename.ext
SummaryOutputName=SampleSummaryOutput
# This is a section name.
FieldList=xxSampleSQLFieldList
Overwrite=true
# New - This is a section name - specific fields per section.
OutputSyntax=SQLServer/CSV