Click or drag to resize
weroSoft AG, Software
UnitTestStartTestHost Method (String, String, String, Process)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Starts the test server.

Namespace:  WeroSoft.UnitTesting
Assembly:  WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static Mutex StartTestHost(
	string testHostAssembly,
	string productRoot,
	string productBinPath,
	ref Process process
)

Parameters

testHostAssembly
Type: SystemString
Name of the assembly to be tested.
productRoot
Type: SystemString
Root of the path in of the unit test assembly.
productBinPath
Type: SystemString
Binary path of the product compilation.
process
Type: System.DiagnosticsProcess
Process information object of the test server process.

Return Value

Type: Mutex
Mutex of the server.
Exceptions
ExceptionCondition
WaitHandleCannotBeOpenedExceptionThrown if the server did not create the mutex.
See Also