C# Class NUnit.VisualStudio.TestAdapter.NUnitTestExecutor

Inheritance: NUnit.VisualStudio.TestAdapter.NUnitTestAdapter, ITestExecutor
Mostra file Open project: nunit/nunit-vs-adapter

Public Methods

Method Description
ITestExecutor ( ) : void
RunTests ( IEnumerable tests, IRunContext runContext, IFrameworkHandle frameworkHandle ) : void

Called by the VisualStudio IDE when selected tests are to be run. Never called from TFS Build.

RunTests ( IEnumerable sources, IRunContext runContext, IFrameworkHandle frameworkHandle ) : void

Called by the Visual Studio IDE to run all tests. Also called by TFS Build to run either all or selected tests. In the latter case, a filter is provided as part of the run context.

Method Details

ITestExecutor() public method

public ITestExecutor ( ) : void
return void

RunTests() public method

Called by the VisualStudio IDE when selected tests are to be run. Never called from TFS Build.
public RunTests ( IEnumerable tests, IRunContext runContext, IFrameworkHandle frameworkHandle ) : void
tests IEnumerable The tests to be run
runContext IRunContext The RunContext
frameworkHandle IFrameworkHandle The FrameworkHandle
return void

RunTests() public method

Called by the Visual Studio IDE to run all tests. Also called by TFS Build to run either all or selected tests. In the latter case, a filter is provided as part of the run context.
public RunTests ( IEnumerable sources, IRunContext runContext, IFrameworkHandle frameworkHandle ) : void
sources IEnumerable Sources to be run.
runContext IRunContext Context to use when executing the tests.
frameworkHandle IFrameworkHandle Test log to send results and messages through
return void