Loads a unit test 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. Use this method to load a single specific test. Repository is derived from the test's declaration.

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

Syntax

C#
void LoadUnitTest(
	Type testClass
)
Visual Basic
Sub LoadUnitTest ( _
	testClass As Type _
)
Visual C++
void LoadUnitTest(
	Type^ testClass
)

Parameters

testClass
Type: System..::..Type
Class that implements the target test.

See Also