Class CaptureConsoleAttribute
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class CaptureConsoleAttribute : BeforeAfterTestAttribute, IBeforeAfterTestAttribute
- Inheritance
-
CaptureConsoleAttribute
- Implements
- Inherited Members
Properties
- CaptureError
Gets or sets a flag to indicate whether to override Error.
- CaptureOut
Gets or sets a flag to indicate whether to override Out (which includes the
WriteandWriteLinemethods on Console).
Methods
- Before(MethodInfo, IXunitTest)
This method is called before the test method is executed.