Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static class: NUnit.Direct.NUnitDirect

Summary

Provides a method to run NUnit-compatible unit tests in an assembly in a debugger-friendly way.

Static methods

object
InvokeDirect(this MethodInfo method, object instance, params object[] parameters)
Invokes method method on object instance passing it the specified parameters. Unlike MethodBase.Invoke(object, object[]), which wraps any exceptions in the target method into a TargetInvocationException, this will invoke the target method in such a way that any exceptions will propagate just like they would if the method had been invoked "directly" rather than via reflection. See Remarks. (see also remarks)
void
RunTestsOnAssembly(Assembly assembly, bool suppressTimesInLog = false, string filter = null)
Runs NUnit-compatible unit tests in an assembly in a debugger-friendly way.