Method BeginTest
BeginTest(String)
Notifies that a unit test case is started. Either the returned value must be disposed, or calling this method must be matched
with a call to EndTest().
Any full snapshots that are collected between
the calls to BeginTest
and EndTest() will be associated with
the test case.
Declaration
public static ActiveTest BeginTest(string testName)
Parameters
Type | Name | Description |
---|---|---|
System.String | testName | Optional name of the test. Will be used to generate snapshot names. |
Returns
Type | Description |
---|---|
ActiveTest | A disposable value that can be used to end the test using the dipsose pattern. |
BeginTest()
Notifies that a unit test case is started. Either the returned value must be disposed, or calling this method must be matched
with a call to EndTest().
Any full snapshots that are collected between
the calls to BeginTest
and EndTest() will be associated with
the test case.
Declaration
public static void BeginTest()