@@ -135,27 +135,27 @@ private static void RunVersionTest(Context context, DemaConsulting.TestResults.T
135135 logContent . Split ( '.' ) . Length >= 3 )
136136 {
137137 test . Outcome = DemaConsulting . TestResults . TestOutcome . Passed ;
138- context . WriteLine ( $ "✓ Version Display Test - PASSED ") ;
138+ context . WriteLine ( $ "✓ TemplateTool_VersionDisplay - Passed ") ;
139139 }
140140 else
141141 {
142142 test . Outcome = DemaConsulting . TestResults . TestOutcome . Failed ;
143143 test . ErrorMessage = "Version string not found in log" ;
144- context . WriteError ( $ "✗ Version Display Test - FAILED : Version string not found in log") ;
144+ context . WriteError ( $ "✗ TemplateTool_VersionDisplay - Failed : Version string not found in log") ;
145145 }
146146 }
147147 else
148148 {
149149 test . Outcome = DemaConsulting . TestResults . TestOutcome . Failed ;
150150 test . ErrorMessage = $ "Program exited with code { exitCode } ";
151- context . WriteError ( $ "✗ Version Display Test - FAILED : Exit code { exitCode } ") ;
151+ context . WriteError ( $ "✗ TemplateTool_VersionDisplay - Failed : Exit code { exitCode } ") ;
152152 }
153153 }
154154 // Generic catch is justified here as this is a test framework - any exception should be
155155 // recorded as a test failure to ensure robust test execution and reporting.
156156 catch ( Exception ex )
157157 {
158- HandleTestException ( test , context , "Version Display Test " , ex ) ;
158+ HandleTestException ( test , context , "TemplateTool_VersionDisplay " , ex ) ;
159159 }
160160
161161 FinalizeTestResult ( test , startTime , testResults ) ;
@@ -202,27 +202,27 @@ private static void RunHelpTest(Context context, DemaConsulting.TestResults.Test
202202 if ( logContent . Contains ( "Usage:" ) && logContent . Contains ( "Options:" ) )
203203 {
204204 test . Outcome = DemaConsulting . TestResults . TestOutcome . Passed ;
205- context . WriteLine ( $ "✓ Help Display Test - PASSED ") ;
205+ context . WriteLine ( $ "✓ TemplateTool_HelpDisplay - Passed ") ;
206206 }
207207 else
208208 {
209209 test . Outcome = DemaConsulting . TestResults . TestOutcome . Failed ;
210210 test . ErrorMessage = "Help text not found in log" ;
211- context . WriteError ( $ "✗ Help Display Test - FAILED : Help text not found in log") ;
211+ context . WriteError ( $ "✗ TemplateTool_HelpDisplay - Failed : Help text not found in log") ;
212212 }
213213 }
214214 else
215215 {
216216 test . Outcome = DemaConsulting . TestResults . TestOutcome . Failed ;
217217 test . ErrorMessage = $ "Program exited with code { exitCode } ";
218- context . WriteError ( $ "✗ Help Display Test - FAILED : Exit code { exitCode } ") ;
218+ context . WriteError ( $ "✗ TemplateTool_HelpDisplay - Failed : Exit code { exitCode } ") ;
219219 }
220220 }
221221 // Generic catch is justified here as this is a test framework - any exception should be
222222 // recorded as a test failure to ensure robust test execution and reporting.
223223 catch ( Exception ex )
224224 {
225- HandleTestException ( test , context , "Help Display Test " , ex ) ;
225+ HandleTestException ( test , context , "TemplateTool_HelpDisplay " , ex ) ;
226226 }
227227
228228 FinalizeTestResult ( test , startTime , testResults ) ;
0 commit comments