Go.Ganesh - 2007-07-24

File : Automated.c
Function: automated_all_tests_complete_message_handler ()

<snip>
372 fprintf(f_pTestResultFile,
373 " <CUNIT_RUN_SUMMARY_RECORD> \n"
374 " <TYPE> %s </TYPE> \n"
375 " <TOTAL> %u </TOTAL> \n"
376 " <RUN> %u </RUN> \n"
377 " <SUCCEEDED> - NA - </SUCCEEDED> \n"
378 " <FAILED> %u </FAILED> \n"
379 " <INACTIVE> %u </INACTIVE> \n"
380 " </CUNIT_RUN_SUMMARY_RECORD> \n",
381 _("Suites"),
382 pRegistry->uiNumberOfSuites,
383 pRunSummary->nSuitesRun,
384 pRunSummary->nSuitesFailed,
385 pRunSummary->nSuitesInactive
386 );
<snip>

I would like to know the following:

  1. Expansion for - NA -
  2. If - NA - expands to 'Not Applicable' (or) 'Not Available', why it is specified so? Why we can't give the number of suites succeeded?

I would like to confirm my following understanding

  1. Does 'failed' column (for suites) indicates the initialization failure of testsuites i.e, failure of setup and cleanup functions?