Config
this class have configuratin information.
Static Member Summary
| Static Public Members | ||
| public static get |
|
|
| public static get |
DEFAULT_CONFIG: {"browser": string, "scenarioDir": string, "scenarioFile": *, "ignoreDir": string, "silentMode": *, "exitImmediately": *, "takeScreenshotAuto": *, "fileDownloadDir": string, "screenshotsDir": string, "width": number, "height": number, "mocha": *, "assertion": *, "logger": *, "electron": *, "puppeteer": *} |
|
| public static get |
config: * |
|
| public static |
instance: * |
|
Static Method Summary
| Static Public Methods | ||
| public static |
assign(config: *, key: *, value: *) |
|
| public static |
create(commandLineArgs: *): * |
|
| public static |
isExists(object: *, key: *): * |
|
| public static |
merge(dest: *, source: *) |
|
Method Summary
| Public Methods | ||
| public |
clone(): * |
|
| public |
isExists(key: *): * |
|
| public |
merge(source: *) |
|
| Private Methods | ||
| private |
loadConfigFile(filePath: *) |
|
Static Public Members
public static get DEFAULT_CONFIG: {"browser": string, "scenarioDir": string, "scenarioFile": *, "ignoreDir": string, "silentMode": *, "exitImmediately": *, "takeScreenshotAuto": *, "fileDownloadDir": string, "screenshotsDir": string, "width": number, "height": number, "mocha": *, "assertion": *, "logger": *, "electron": *, "puppeteer": *} source
public static get config: * source
public static instance: * source
Static Public Methods
public static assign(config: *, key: *, value: *) source
Params:
| Name | Type | Attribute | Description |
| config | * | ||
| key | * | ||
| value | * |
public static create(commandLineArgs: *): * source
Params:
| Name | Type | Attribute | Description |
| commandLineArgs | * |
Return:
| * |
public static isExists(object: *, key: *): * source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| key | * |
Return:
| * |
public static merge(dest: *, source: *) source
Params:
| Name | Type | Attribute | Description |
| dest | * | ||
| source | * |
