csUnit Class Library

SetUpAttribute Class

A method in a test fixture tagged with the SetUpAttribute will be executed immediately before each test. The method must have the type 'public void' and it must no take any parameters.

For a list of all members of this type, see SetUpAttribute Members.

System.Object
   System.Attribute
      csUnit.SetUpAttribute

public class SetUpAttribute : Attribute

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: csUnit

Assembly: csUnit (in csUnit.dll)

See Also

SetUpAttribute Members | csUnit Namespace