Table of Contents

Property XunitVersion

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

XunitVersion

Gets the major version of xUnit.net this assembly targets (1, 2, or 3); may return a value of 0 if the version is unknown.

public int XunitVersion { get; }

Property Value

int