Use the TestAssemblyFixtureAttribute to decorate a class which contains setup and teardown methods for an assembly. Apply it to only one class, as the runtime will pick up only the first one it finds. The setup method needs to be marked with the
For a list of all members of this type, see TestAssemblyFixtureAttribute Members.
System.Object
System.Attribute
csUnit.TestAssemblyFixtureAttribute
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
The setup method will be executed before any test in the assembly is executed. The teardown method will be executed after all tests in the assembly have been executed, regardless of the outcome of those tests.
Namespace: csUnit
Assembly: csUnit (in csUnit.dll)
TestAssemblyFixtureAttribute Members | csUnit Namespace | SetUpAttribute | TearDownAttribute