Table of Contents

Property TestClassSimpleName

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

TestClassSimpleName

Gets the simple name of the class where the test is defined (the class name without namespace). If the test did not originiate in a class, will return null.

public required string? TestClassSimpleName { get; set; }

Property Value

string

Remarks

Note: Will be null if there was no value provided during deserialization.