Table of Contents

Constructor CrashDetectionDiscoverySink

Namespace
Xunit.v3
Assembly
xunit.v3.runner.utility.netfx.dll

CrashDetectionDiscoverySink(XunitProjectAssembly, IMessageSink)

An implementation of IMessageSink that detects when test discovery starting and finished messages have been sent, and will send cleanup/error messages to the inner sink if it appears that the test process crashed (failed to send one or both messages).

public CrashDetectionDiscoverySink(XunitProjectAssembly projectAssembly, IMessageSink innerSink)

Parameters

projectAssembly

The test project assembly

innerSink

The inner message sink