The IUnitTestEngine type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Abort |
Stops the execution of unit tests.
|
![]() | ExecuteUnitTest |
Executes a particular unit test that is previously loaded by LoadUnitTests()()()() or LoadUnitTests(String).
|
![]() | ExecuteUnitTests |
Executes unit tests that are previously loaded by LoadUnitTests()()()() or LoadUnitTests(String).
|
![]() | LoadPackage(String, String) |
Creates and loads repository with a single package from file system.
|
![]() | LoadPackage(String, String, String) |
Creates and loads repository with a single package from ispac file.
|
![]() | LoadPackages |
Creates and loads repository with packages from file system or ispac package. Repository represents a named group of packages.
|
![]() | LoadRepositoryUnitTests(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.
|
![]() | LoadRepositoryUnitTests(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.
|
![]() | LoadRepositoryUnitTests(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.
|
![]() | LoadUnitTest |
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.
|
![]() | LoadUnitTests()()()() |
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.
|
![]() | LoadUnitTests(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.
|
![]() | LoadUnitTests(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
Name | Description | |
---|---|---|
![]() | ConvertTestCoverageToHtmlPage |
Converts unit tests coverage to a html page.
(Defined by TestEngineExtensions.) |
![]() | ConvertTestResultsAndCoverageToHtmlPage |
Converts unit test results and coverage to a html page.
(Defined by TestEngineExtensions.) |
![]() | ConvertTestResultsToHtmlPage |
Converts unit test results to a html page.
(Defined by TestEngineExtensions.) |
![]() | ConvertTestResultsToHtmlTable |
Converts unit test results to a html table.
(Defined by TestEngineExtensions.) |
![]() | ConvertTestsCoverageToHtmlTable |
Converts unit tests coverage to a html table.
(Defined by TestEngineExtensions.) |
![]() | ExecuteUnitTestsWithGui |
Executes unit tests and starts gui monitor.
(Defined by TestEngineExtensions.) |
![]() | SaveTestCoverageAsHtml |
Saves the coverage of unit tests into a file.
(Defined by TestEngineExtensions.) |
![]() | SaveTestResultsAndCoverageAsHtml |
Saves the result and coverage of unit tests into a file.
(Defined by TestEngineExtensions.) |
![]() | SaveTestResultsAsHtml |
Saves the result of unit tests into a file.
(Defined by TestEngineExtensions.) |