Click or drag to resize
weroSoft AG, Software
UnitTestStartTestHost Method (String, String, String, String, Process, Int32)
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 testHostName,
	string productRoot,
	string productBinPath,
	ref Process process,
	int timeout = 5
)

Parameters

testHostAssembly
Type: SystemString
Name of the assembly to be tested.
testHostName
Type: SystemString
Host name of the test host. Use null if you only have one host container in the target assembly and you like that the Test Host resolves the test container automatically.
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.
timeout (Optional)
Type: SystemInt32

[Missing <param name="timeout"/> documentation for "M:WeroSoft.UnitTesting.UnitTest.StartTestHost(System.String,System.String,System.String,System.String,System.Diagnostics.Process@,System.Int32)"]

Return Value

Type: Mutex

[Missing <returns> documentation for "M:WeroSoft.UnitTesting.UnitTest.StartTestHost(System.String,System.String,System.String,System.String,System.Diagnostics.Process@,System.Int32)"]

See Also