LoadRepositoryActions Method (Assembly, String)
Loads live tests from the calling assembly. Before this method is executed, all repositories and packages that are referenced in live tests must be loaded by using LoadPackages(String, String). After this method finished, ExecutePackage(String, String) can be called to execute tests. Use this method, if you want to load tests for a specific repository only.

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

Syntax

C#
int LoadRepositoryActions(
	Assembly assembly,
	string repositoryName
)
Visual Basic
Function LoadRepositoryActions ( _
	assembly As Assembly, _
	repositoryName As String _
) As Integer
Visual C++
int LoadRepositoryActions(
	Assembly^ assembly, 
	String^ repositoryName
)

Parameters

assembly
Type: System.Reflection..::..Assembly
A reference to an assembly that contains live test classes.
repositoryName
Type: System..::..String
Name of a reporsitory to load tests from.

Return Value

Count of loaded actions.

See Also