Base attribute which indicates a test method interception (allows code to be run before and after the test is run).
More...
|
virtual void | After (MethodInfo methodUnderTest) |
| This method is called after the test method is executed. More...
|
|
virtual void | Before (MethodInfo methodUnderTest) |
| This method is called before the test method is executed. More...
|
|
Base attribute which indicates a test method interception (allows code to be run before and after the test is run).
◆ After()
virtual void Xunit.Sdk.BeforeAfterTestAttribute.After |
( |
MethodInfo |
methodUnderTest | ) |
|
|
inlinevirtual |
This method is called after the test method is executed.
- Parameters
-
methodUnderTest | The method under test |
◆ Before()
virtual void Xunit.Sdk.BeforeAfterTestAttribute.Before |
( |
MethodInfo |
methodUnderTest | ) |
|
|
inlinevirtual |
This method is called before the test method is executed.
- Parameters
-
methodUnderTest | The method under test |
The documentation for this class was generated from the following file:
- xunit/src/xunit.core/Sdk/BeforeAfterTestAttribute.cs