Table of Contents

Class CaptureTraceAttribute

Namespace
Xunit
Assembly
xunit.v3.core.dll

Captures Trace and Debug output and reports it to the test output helper.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public sealed class CaptureTraceAttribute : BeforeAfterTestAttribute, IBeforeAfterTestAttribute
Inheritance
CaptureTraceAttribute
Implements
Inherited Members

Methods

Before(MethodInfo, IXunitTest)

This method is called before the test method is executed.