Method GetCollectionBeforeAfterTestAttributes
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
GetCollectionBeforeAfterTestAttributes(Type?, IReadOnlyCollection<IBeforeAfterTestAttribute>)
Gets the IBeforeAfterTestAttributes attached to the given test collection.
public static IReadOnlyCollection<IBeforeAfterTestAttribute> GetCollectionBeforeAfterTestAttributes(Type? collectionDefinition, IReadOnlyCollection<IBeforeAfterTestAttribute> assemblyBeforeAfterTestAttributes)
Parameters
collectionDefinition
TypeThe collection definition type
assemblyBeforeAfterTestAttributes
IReadOnlyCollection<IBeforeAfterTestAttribute>The before after attributes from the test assembly, to be merged into the result.