IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnitLite.ResultSummary Class Reference

Helper class used to summarize the result of a test run More...

Public Member Functions

 ResultSummary (ITestResult result)
 Initializes a new instance of the ResultSummary class. More...
 

Properties

int TestCount [get, private set]
 Gets the number of test cases for which results have been summarized. Any tests excluded by use of Category or Explicit attributes are not counted. More...
 
int RunCount [get]
 Returns the number of test cases actually run. More...
 
int NotRunCount [get]
 Gets the number of tests not run for any reason. More...
 
int PassCount [get, private set]
 Gets the count of passed tests More...
 
int FailureCount [get, private set]
 Gets count of failed tests, excluding errors and invalid tests More...
 
int ErrorCount [get, private set]
 Gets the error count More...
 
int InconclusiveCount [get, private set]
 Gets the count of inconclusive tests More...
 
int InvalidCount [get, private set]
 Returns the number of test cases that were not runnable due to errors in the signature of the class or method. Such tests are also counted as Errors. More...
 
int SkipCount [get, private set]
 Gets the count of skipped tests, excluding ignored tests More...
 
int IgnoreCount [get, private set]
 Gets the ignore count More...
 
int ExplicitCount [get, private set]
 Gets the explicit count More...
 
ResultState ResultState [get, private set]
 Gets the ResultState of the test result, which indicates the success or failure of the test. More...
 
DateTime StartTime [get, private set]
 Gets or sets the time the test started running. More...
 
DateTime EndTime [get, private set]
 Gets or sets the time the test finished running. More...
 
double Duration [get, private set]
 Gets or sets the elapsed time for running the test in seconds More...
 

Private Member Functions

void InitializeCounters ()
 
void Summarize (ITestResult result)
 

Detailed Description

Helper class used to summarize the result of a test run

Constructor & Destructor Documentation

Member Function Documentation

Property Documentation

int NUnitLite.ResultSummary.TestCount
getprivate set

Gets the number of test cases for which results have been summarized. Any tests excluded by use of Category or Explicit attributes are not counted.

Referenced by NUnitLite.ResultSummary.InitializeCounters(), NUnitLite.NUnit2XmlOutputWriter.InitializeXmlFile(), and NUnitLite.ResultSummary.Summarize().

int NUnitLite.ResultSummary.RunCount
get

Returns the number of test cases actually run.

Referenced by NUnitLite.TextUI.DisplaySummaryReport().

int NUnitLite.ResultSummary.NotRunCount
get

Gets the number of tests not run for any reason.

Referenced by NUnitLite.TextUI.DisplaySummaryReport().

int NUnitLite.ResultSummary.PassCount
getprivate set
int NUnitLite.ResultSummary.FailureCount
getprivate set
int NUnitLite.ResultSummary.InconclusiveCount
getprivate set
int NUnitLite.ResultSummary.InvalidCount
getprivate set

Returns the number of test cases that were not runnable due to errors in the signature of the class or method. Such tests are also counted as Errors.

Referenced by NUnitLite.TextUI.DisplaySummaryReport(), NUnitLite.ResultSummary.InitializeCounters(), NUnitLite.NUnit2XmlOutputWriter.InitializeXmlFile(), NUnitLite.TextRunner.RunTests(), and NUnitLite.ResultSummary.Summarize().

int NUnitLite.ResultSummary.SkipCount
getprivate set
int NUnitLite.ResultSummary.ExplicitCount
getprivate set
ResultState NUnitLite.ResultSummary.ResultState
getprivate set

Gets the ResultState of the test result, which indicates the success or failure of the test.

Referenced by NUnitLite.TextUI.DisplaySummaryReport().

DateTime NUnitLite.ResultSummary.StartTime
getprivate set

Gets or sets the time the test started running.

Referenced by NUnitLite.TextUI.DisplaySummaryReport(), and NUnitLite.ResultSummary.ResultSummary().

DateTime NUnitLite.ResultSummary.EndTime
getprivate set

Gets or sets the time the test finished running.

Referenced by NUnitLite.TextUI.DisplaySummaryReport(), and NUnitLite.ResultSummary.ResultSummary().

double NUnitLite.ResultSummary.Duration
getprivate set

Gets or sets the elapsed time for running the test in seconds

Referenced by NUnitLite.TextUI.DisplaySummaryReport(), and NUnitLite.ResultSummary.ResultSummary().


The documentation for this class was generated from the following file: