| AutomatedTests Class |
Namespace: CMS.Tests
public class AutomatedTests : IMSTestSetup, IDisposable
The AutomatedTests type exposes the following members.
| Name | Description | |
|---|---|---|
| AutomatedTests |
Constructor
|
| Name | Description | |
|---|---|---|
| APP_KEY_LICENSE_KEY |
Name of app key for license key that is used in isolated integration tests.
| |
| DATA_FOLDER |
Path to the data folder. Default is "Data\\"
|
| Name | Description | |
|---|---|---|
| CurrentTestName |
Current test name
| |
| FirstTest |
Returns true if the test is the first one executed in this fixture
| |
| FirstTestInDomain |
Returns true if the test is the first one executed on current domain
| |
| GlobalTestsConfig | Obsolete.
Global configuration file for tests (Tests.config located in root directory)
| |
| LastTestName |
Last test name
|
| Name | Description | |
|---|---|---|
| AddExtender |
Adds the test extender
| |
| CleanUpBase |
Cleans test base (Restore static context)
| |
| CleanUpDataContext |
Cleans up the data context
| |
| CleanUpFixtureBase |
Initializes the text fixture for all tests
| |
| CleanUpTestClass |
Cleans up the MSTest class after all tests.
| |
| Dispose |
Disposes the object
| |
| EndApplication |
Performs application end
| |
| GetSolutionFolderPath | Obsolete.
Gets a path to the root folder of the Kentico solution provided that it contains a test project with current test.
| |
| GetTestAppSetting | Obsolete.
Gets the app setting from test configuration file
| |
| GetTestConnectionString | Obsolete.
Gets the connection string of the given name from test configuration file
| |
| GetTestExtenders |
Gets the current test extenders
| |
| InitApplication |
Performs application initialization if not already initialized
| |
| InitBase |
Inits test base (Ensures static context, reset handlers)
| |
| InitFixtureBase |
Initializes the text fixture for all tests
| |
| InitializeTestClass |
Initialize MSTest class for all tests.
| |
| ResetAppState |
Resets the application state
| |
| RunExtenderActionTCurrentLevel |
Gets the current test extenders
| |
| TestMilestone |
Milestone
|