os/ossrv/stdcpp/tsrc/BC/apps/tutility/group/TestFramework.ini
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 # 	- Sets a device reset module's dll name(Reboot).
    35 #		+ If Nokia specific reset module is not available or it is not correct one
    36 #		  StifHWResetStub module may use as a template for user specific reset
    37 #		  module. 
    38 
    39 [Engine_Defaults]
    40 
    41 TestReportMode= FullReport		# Possible values are: 'Empty', 'Summary', 'Environment',
    42                                                                'TestCases' or 'FullReport'
    43 
    44 CreateTestReport= YES			# Possible values: YES or NO
    45 
    46 TestReportFilePath= C:\LOGS\TestFramework\
    47 TestReportFileName= TestReport
    48 
    49 TestReportFormat= TXT			# Possible values: TXT or HTML
    50 TestReportOutput= FILE			# Possible values: FILE or RDEBUG
    51 TestReportFileCreationMode= OVERWRITE	# Possible values: OVERWRITE or APPEND
    52 
    53 DeviceResetDllName= StifResetForNokia.dll # e.g. 'StifHWResetStub.dll' for user specific reseting
    54 
    55 [End_Defaults]
    56 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    57 
    58 
    59 
    60 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    61 # Module configurations start
    62 # Modules are added between module tags
    63 # tags. Module name is specified after ModuleName= tag, like
    64 # ModuleName= XXXXXXXXX
    65 # Modules might have initialisation file, specified as
    66 # IniFile= c:\testframework\YYYYYY
    67 # Modules might have several configuration files, like
    68 # TestCaseFile= c:\testframework\NormalCases.txt
    69 # TestCaseFile= c:\testframework\SmokeCases.txt
    70 # TestCaseFile= c:\testframework\ManualCases.txt
    71 
    72 # (TestCaseFile is synonym for old term ConfigFile)
    73 
    74 # Following case specifies demo module settings. Demo module
    75 # does not read any settings from file, so tags 
    76 # IniFile and TestCaseFile are not used.
    77 # In the simplest case it is enough to specify only the
    78 # name of the test module when adding new test module
    79 
    80 [New_Module]
    81 ModuleName= Testscripter
    82 TestCaseFile= c:\testframework\tutility.cfg
    83 [End_Module]
    84 
    85 
    86 # Load testmoduleXXX, optionally with initialization file and/or test case files
    87 #[New_Module]
    88 #ModuleName= testmodulexxx
    89 
    90 #TestModuleXXX used initialization file
    91 #IniFile= c:\testframework\init.txt
    92 
    93 #TestModuleXXX used configuration file(s)
    94 #TestCaseFile= c:\testframework\testcases1.cfg
    95 #TestCaseFile= c:\testframework\testcases2.cfg
    96 #TestCaseFile= c:\testframework\manualtestcases.cfg
    97 
    98 #[End_Module]
    99 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   100 
   101 
   102 
   103 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   104 # Set STIFTestFramework logging overwrite parameters for Logger.
   105 # 	Hardware and emulator environment logging path and styles can
   106 # 	be configured from here to overwrite the Logger's implemented values.
   107 #	
   108 #	Settings description:
   109 #	- Indicates option for creation log directory/directories. If log directory/directories
   110 #         is/are not created by user they will make by software.
   111 #		+ YES, Create log directory/directories if not allready exist.
   112 #		+ NO, Log directory/directories not created. Only created one is used.
   113 #
   114 #	- Overwrite emulator path setting.
   115 #		+ Example: If 'EmulatorBasePath= C:\LOGS\TestFramework\' and in code is defined 
   116 #		           Logger's path 'D:\\LOGS\\Module\\' with those definition the path
   117 #		           will be 'C:\LOGS\TestFramework\LOGS\Module\'
   118 #
   119 #	- Overwrite emulator's logging format.
   120 #		+ TXT, Log file(s) will be txt type(s), for example 'Module.txt'.
   121 #		+ HTML, Log file(s) will be html type(s), for example 'Module.html'.
   122 #
   123 #	- Overwrited emulator logging output source.
   124 #		+ FILE, Logging to file(s).
   125 #		+ RDEBUG, Logging to using rdebug(s).
   126 #
   127 #	- Overwrite hardware path setting (Same description as above in emulator path).
   128 #	- Overwrite hardware's logging format(Same description as above in emulator format).
   129 #	- Overwrite hardware's logging output source(Same description as above in emulator output).
   130 #
   131 #	- File Creation Mode indicates file overwriting if file exist.
   132 #		+ OVERWRITE, Overwrites if file(s) exist.
   133 #		+ APPEND, Continue logging after the old logging information if file(s) exist.
   134 #
   135 #	- Will thread id include to the log filename.
   136 #		+ YES, Thread id to log file(s) name, Example filename 'Module_b9.txt'.
   137 #		+ NO, No thread id to log file(s), Example filename 'Module.txt'.
   138 #
   139 #	- Will time stamps include the to log file.
   140 #		+ YES, Time stamp added to each line in log file(s). Time stamp is 
   141 #                 for example'12.Nov.2003 115958    LOGGING INFO'
   142 #		+ NO, No time stamp(s).
   143 #
   144 #	- Will line breaks include to the log file.
   145 #		+ YES, Each logging event includes line break and next log event is in own line.
   146 #		+ NO, No line break(s).
   147 #
   148 #	- Will event ranking include to the log file.
   149 #		+ YES, Event ranking number added to each line in log file(s). Ranking number 
   150 #                 depends on environment's tics, for example(includes time stamp also)
   151 #                 '012   12.Nov.2003 115958    LOGGING INFO'
   152 #		+ NO, No event ranking.
   153 #
   154 
   155 [Logger_Defaults]
   156 
   157 #NOTE: If you want to set Logger using next setting(s) remove comment(s)'#' 
   158 
   159 #CreateLogDirectories= YES		# Possible values: YES or NO
   160 
   161 #EmulatorBasePath= C:\LOGS\TestFramework\
   162 #EmulatorFormat= HTML			# Possible values: TXT or HTML
   163 #EmulatorOutput= FILE			# Possible values: FILE or RDEBUG
   164 
   165 #HardwareBasePath= D:\LOGS\TestFramework\
   166 #HardwareFormat= HTML			# Possible values: TXT or HTML
   167 #HardwareOutput= FILE			# Possible values: FILE or RDEBUG
   168 
   169 #FileCreationMode= OVERWRITE		# Possible values: OVERWRITE or APPEND
   170 
   171 #ThreadIdToLogFile= YES			# Possible values: YES or NO
   172 #WithTimeStamp= YES			# Possible values: YES or NO
   173 #WithLineBreak= YES			# Possible values: YES or NO
   174 #WithEventRanking= YES			# Possible values: YES or NO
   175 
   176 [End_Logger_Defaults]
   177 # -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
   178 
   179 # End of file