Class TestsConfig
Shared tests configuration
public static class TestsConfig
- Inheritance
-
objectTestsConfig
Properties
GlobalTestsConfig
Global configuration file for tests (Tests.config located in root directory)
public static Configuration GlobalTestsConfig { get; }
Property Value
- Configuration
SolutionFolderPath
The path to the root folder of the solution, if found.
public static string SolutionFolderPath { get; }
Property Value
- string
Methods
GetTestAppSetting(string)
Gets the app setting from test configuration file
public static string GetTestAppSetting(string name)
Parameters
name
stringApp setting name
Returns
- string
GetTestConnectionString(string)
Gets the connection string of the given name from test configuration file
public static string GetTestConnectionString(string name)
Parameters
name
stringConnection string name
Returns
- string