Table of Contents

Method GetAssemblyTraits

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

GetAssemblyTraits(Assembly)

Gets the traits that are attached to the test assembly via ITraitAttributes.

public static IReadOnlyDictionary<string, IReadOnlyCollection<string>> GetAssemblyTraits(Assembly testAssembly)

Parameters

testAssembly Assembly

The test assembly

Returns

IReadOnlyDictionary<string, IReadOnlyCollection<string>>