Loads unit tests from the assembly. Before this method is executed, all repositories and packages that are referenced in unit tests must be loaded by using LoadPackages(String, String). After this method finished, ExecuteUnitTests()()()() or ExecuteUnitTest(Type) can be called to execute tests.

Namespace: SSIS.Test
Assembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)

Syntax

C#
int LoadUnitTests(
	string assemblyPath
)
Visual Basic
Function LoadUnitTests ( _
	assemblyPath As String _
) As Integer
Visual C++
int LoadUnitTests(
	String^ assemblyPath
)

Parameters

assemblyPath
Type: System..::..String
Path to an assembly on the file system that contains test implementations.

Return Value

Count of loaded unit tests.

See Also