This attribute specifies an assembly as an assembly fixture.
This attribute is used when you want to add a description to an assembly.
The available properties are as follows.
Property | Description |
---|---|
Description | Specifies a description of an assembly. |
Tag | Specifies a tag to filter an assembly. |
Benefit | Specifies a benefit about an assembly. |
Role | Specifies a role about an assembly. |
Feature | Specifies a feature about an assembly. |
CanRunParallel | Specifies a value that indicates whether child fixtures can be run in parallel. The default value is false. |
RequiresSta | Specifies a value that indicates whether to run fixtures in a single thread apartment. The default value is false. |
For example:
[assembly: AssemblyFixture("The utility library specification")]
<ItemGroup> <AssemblyAttribute Include="Carna.AssemblyFixtureAttribute"> <RequiresSta>true</RequiresSta> <RequiresSta_TypeName>System.Boolean</RequiresSta_TypeName> </AssemblyAttribute> </ItemGroup>