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