|
| TestCaseResult (TestMethod test) |
| Construct a TestCaseResult based on a TestMethod More...
|
|
| TestResult (ITest test) |
| Construct a test result given a Test More...
|
|
TNode | ToXml (bool recursive) |
| Returns the Xml representation of the result. More...
|
|
virtual TNode | AddToXml (TNode parentNode, bool recursive) |
| Adds the XML representation of the result as a child of the supplied parent node.. More...
|
|
virtual void | AddResult (ITestResult result) |
| Adds a child result to this result, setting this result's ResultState to Failure if the child result failed. More...
|
|
void | SetResult (ResultState resultState) |
| Set the result of the test More...
|
|
void | SetResult (ResultState resultState, string message) |
| Set the result of the test More...
|
|
void | SetResult (ResultState resultState, string message, string stackTrace) |
| Set the result of the test More...
|
|
void | RecordException (Exception ex) |
| Set the test result based on the type of exception thrown More...
|
|
void | RecordException (Exception ex, FailureSite site) |
| Set the test result based on the type of exception thrown More...
|
|
void | RecordTearDownException (Exception ex) |
| RecordTearDownException appends the message and stacktrace from an exception arising during teardown of the test to any previously recorded information, so that any earlier failure information is not lost. Note that calling Assert.Ignore, Assert.Inconclusive, etc. during teardown is treated as an error. If the current result represents a suite, it may show a teardown error even though all contained tests passed. More...
|
|
|
override int | FailCount [get] |
| Gets the number of test cases that failed when running the test and all its children. More...
|
|
override int | PassCount [get] |
| Gets the number of test cases that passed when running the test and all its children. More...
|
|
override int | SkipCount [get] |
| Gets the number of test cases that were skipped when running the test and all its children. More...
|
|
override int | InconclusiveCount [get] |
| Gets the number of test cases that were inconclusive when running the test and all its children. More...
|
|
ITest | Test [get, private set] |
| Gets the test with which this result is associated. More...
|
|
ResultState | ResultState [get, private set] |
| Gets the ResultState of the test result, which indicates the success or failure of the test. More...
|
|
virtual string | Name [get] |
| Gets the name of the test result More...
|
|
virtual string | FullName [get] |
| Gets the full name of the test result More...
|
|
double | Duration [get, set] |
| Gets or sets the elapsed time for running the test in seconds More...
|
|
DateTime | StartTime [get, set] |
| Gets or sets the time the test started running. More...
|
|
DateTime | EndTime [get, set] |
| Gets or sets the time the test finished running. More...
|
|
string | Message [get, private set] |
| Gets the message associated with a test failure or with not running the test More...
|
|
virtual string | StackTrace [get, private set] |
| Gets any stacktrace associated with an error or failure. More...
|
|
int | AssertCount [get, set] |
| Gets or sets the count of asserts executed when running the test. More...
|
|
abstract int | FailCount [get] |
| Gets the number of test cases that failed when running the test and all its children. More...
|
|
abstract int | PassCount [get] |
| Gets the number of test cases that passed when running the test and all its children. More...
|
|
abstract int | SkipCount [get] |
| Gets the number of test cases that were skipped when running the test and all its children. More...
|
|
abstract int | InconclusiveCount [get] |
| Gets the number of test cases that were inconclusive when running the test and all its children. More...
|
|
bool | HasChildren [get] |
| Indicates whether this result has any child results. Test HasChildren before accessing Children to avoid the creation of an empty collection. More...
|
|
System.Collections.Generic.IList
< ITestResult > | Children [get] |
| Gets the collection of child results. More...
|
|
StringWriter | OutWriter [get] |
| Gets a TextWriter, which will write output to be included in the result. More...
|
|
string | Output [get] |
| Gets any text output written to this result. More...
|
|
ResultState | ResultState [get] |
| Gets the ResultState of the test result, which indicates the success or failure of the test. More...
|
|
string | Name [get] |
| Gets the name of the test result More...
|
|
string | FullName [get] |
| Gets the full name of the test result More...
|
|
double | Duration [get] |
| Gets the elapsed time for running the test in seconds More...
|
|
DateTime | StartTime [get] |
| Gets or sets the time the test started running. More...
|
|
DateTime | EndTime [get] |
| Gets or sets the time the test finished running. More...
|
|
string | Message [get] |
| Gets the message associated with a test failure or with not running the test More...
|
|
string | StackTrace [get] |
| Gets any stacktrace associated with an error or failure. Not available in the Compact Framework 1.0. More...
|
|
int | AssertCount [get] |
| Gets the number of asserts executed when running the test and all its children. More...
|
|
int | FailCount [get] |
| Gets the number of test cases that failed when running the test and all its children. More...
|
|
int | PassCount [get] |
| Gets the number of test cases that passed when running the test and all its children. More...
|
|
int | SkipCount [get] |
| Gets the number of test cases that were skipped when running the test and all its children. More...
|
|
int | InconclusiveCount [get] |
| Gets the number of test cases that were inconclusive when running the test and all its children. More...
|
|
bool | HasChildren [get] |
| Indicates whether this result has any child results. Accessing HasChildren should not force creation of the Children collection in classes implementing this interface. More...
|
|
System.Collections.Generic.IList
< ITestResult > | Children [get] |
| Gets the the collection of child results. More...
|
|
ITest | Test [get] |
| Gets the Test to which this result applies. More...
|
|
string | Output [get] |
| Gets any text output written to this result. More...
|
|
Represents the result of running a single test case.