SetUpAttribute public class SetUpAttribute : Attribute Attribute used to mark a class that contains one-time SetUp and/or TearDown methods that apply to all the tests in a namespace or an assembly. Documentation public SetUpAttribute()