Table of Contents

Property TestClassNamespace

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

TestClassNamespace

Gets the namespace of the class where the test is defined. Will return null for classes not residing in a namespace.

public required string? TestClassNamespace { get; set; }

Property Value

string

Remarks

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