Table of Contents

Interface IMessageSink

Namespace
Xunit.Sdk

Represents an endpoint for the reception of test messages.

public interface IMessageSink
Extension Methods

Methods

OnMessage(IMessageSinkMessage)

Reports the presence of a message on the message bus. This method should never throw exceptions.

bool OnMessage(IMessageSinkMessage message)

Parameters

message IMessageSinkMessage

The message from the message bus

Returns

bool

Return true to continue running tests, or false to stop.