Summary
ResultAdapter adapts a TestResult for consumption by
the user test code.
- Namespace
- TCLite
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["TestContext.ResultAdapter"]
class Type type-node
Syntax
public class TestContext.ResultAdapter
Constructors
| Name | Summary |
|---|---|
| ResultAdapter |
Construct a ResultAdapter for a TestResult |
Properties
| Name | Value | Summary |
|---|---|---|
| Assertions | IEnumerable |
Gets a list of the assertion results generated
up to this point in the test.
|
| FailCount | int |
Gets the number of test cases that failed
when running the test and all its children.
|
| InconclusiveCount | int |
Gets the number of test cases that were inconclusive
when running the test and all its children.
|
| Message | string |
Gets the message associated with a test
failure or with not running the test
|
| Outcome | ResultState |
Gets a ResultState representing the outcome of the test
up to this point in its execution.
|
| PassCount | int |
Gets the number of test cases that passed
when running the test and all its children.
|
| SkipCount | int |
Gets the number of test cases that were skipped
when running the test and all its children.
|
| StackTrace | string |
Gets any stack trace associated with an
error or failure.
|
| WarningCount | int |
Gets the number of test cases that had warnings
when running the test and all its children.
|
