TestContext
Provide the context information of the current test.
This is an adapter for the internal ExecutionContext
class, hiding the internals from the user test.
ResultAdapter adapts a TestResult for consumption by
the user test code.
TestAdapter adapts a Test for consumption by
the user test code.
Get the current test context. This is created
as needed. The user may save the context for
use within a test, but it should not be used
outside the test for which it is created.
Gets a TextWriter that will send output to the current test result.
Gets the random generator.
Gets a Representation of the TestResult for the current test.
Get a representation of the current test.
Gets the directory containing the current test assembly.
Gets the directory to be used for outputting files created
by this test run.
Construct a TestContext for an ExecutionContext
Write the string representation of a boolean value to the current result
Write a char to the current result
Write a char array to the current result
Write the string representation of a double to the current result
Write the string representation of an Int32 value to the current result
Write the string representation of an Int64 value to the current result
Write the string representation of a decimal value to the current result
Write the string representation of an object to the current result
Write the string representation of a Single value to the current result
Write a string to the current result
Write the string representation of a UInt32 value to the current result
Write the string representation of a UInt64 value to the current result
Write a formatted string to the current result
Write a formatted string to the current result
Write a formatted string to the current result
Write a formatted string to the current result
Write a line terminator to the current result
Write the string representation of a boolean value to the current result followed by a line terminator
Write a char to the current result followed by a line terminator
Write a char array to the current result followed by a line terminator
Write the string representation of a double to the current result followed by a line terminator
Write the string representation of an Int32 value to the current result followed by a line terminator
Write the string representation of an Int64 value to the current result followed by a line terminator
Write the string representation of a decimal value to the current result followed by a line terminator
Write the string representation of an object to the current result followed by a line terminator
Write the string representation of a Single value to the current result followed by a line terminator
Write a string to the current result followed by a line terminator
Write the string representation of a UInt32 value to the current result followed by a line terminator
Write the string representation of a UInt64 value to the current result followed by a line terminator
Write a formatted string to the current result followed by a line terminator
Write a formatted string to the current result followed by a line terminator
Write a formatted string to the current result followed by a line terminator
Write a formatted string to the current result followed by a line terminator