The IUnitTestEngine type exposes the following members.

Methods

  NameDescription
Public methodAbort
Stops the execution of unit tests.
Public methodExecuteUnitTest
Executes a particular unit test that is previously loaded by LoadUnitTests()()()() or LoadUnitTests(String).
Public methodExecuteUnitTests
Executes unit tests that are previously loaded by LoadUnitTests()()()() or LoadUnitTests(String).
Public methodLoadPackage(String, String)
Creates and loads repository with a single package from file system.
Public methodLoadPackage(String, String, String)
Creates and loads repository with a single package from ispac file.
Public methodLoadPackages
Creates and loads repository with packages from file system or ispac package. Repository represents a named group of packages.
Public methodLoadRepositoryUnitTests(String)
Loads unit tests from the calling 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, if you want to load tests for a specific repository only.
Public methodLoadRepositoryUnitTests(Assembly, String)
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) or LoadPackage(String, String). After this method finished, ExecuteUnitTests()()()() or ExecuteUnitTest(Type) can be called to execute tests. Use this method, if you want to load tests for a specific repository only.
Public methodLoadRepositoryUnitTests(String, String)
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. Use this method, if you want to load tests for a specific repository only.
Public methodLoadUnitTest
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.
Public methodLoadUnitTests()()()()
Loads unit tests from the calling 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.
Public methodLoadUnitTests(Assembly)
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.
Public methodLoadUnitTests(String)
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.

Extension Methods

  NameDescription
Public Extension MethodConvertTestCoverageToHtmlPage
Converts unit tests coverage to a html page.
(Defined by TestEngineExtensions.)
Public Extension MethodConvertTestResultsAndCoverageToHtmlPage
Converts unit test results and coverage to a html page.
(Defined by TestEngineExtensions.)
Public Extension MethodConvertTestResultsToHtmlPage
Converts unit test results to a html page.
(Defined by TestEngineExtensions.)
Public Extension MethodConvertTestResultsToHtmlTable
Converts unit test results to a html table.
(Defined by TestEngineExtensions.)
Public Extension MethodConvertTestsCoverageToHtmlTable
Converts unit tests coverage to a html table.
(Defined by TestEngineExtensions.)
Public Extension MethodExecuteUnitTestsWithGui
Executes unit tests and starts gui monitor.
(Defined by TestEngineExtensions.)
Public Extension MethodSaveTestCoverageAsHtml
Saves the coverage of unit tests into a file.
(Defined by TestEngineExtensions.)
Public Extension MethodSaveTestResultsAndCoverageAsHtml
Saves the result and coverage of unit tests into a file.
(Defined by TestEngineExtensions.)
Public Extension MethodSaveTestResultsAsHtml
Saves the result of unit tests into a file.
(Defined by TestEngineExtensions.)

See Also