public static bool IsTestMethod(MethodInfo method) { return(Reflect.HasAttribute(method, typeof(TestAttribute))); }
protected void InvokeMethod(MethodInfo method, params object[] args) { Reflect.InvokeMethod(method, this.fixture, args); }
private bool IsTestMethod(MethodInfo method) { return(method.Name.ToLower().StartsWith("test") || Reflect.HasAttribute(method, typeof(TestAttribute))); }