Table of Contents

Method Attach

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

Attach(int, string?)

Returns a test process for an existing process based on process ID.

public static LocalTestProcess Attach(int processID, string? responseFile)

Parameters

processID int

The process ID

responseFile string

The response file (to be cleaned up during disposal)

Returns