Options
All
  • Public
  • Public/Protected
  • All
Menu

@sakuli/core

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

Argv: YargsArgv
CommandModule: YargsCommandModule
SakuliInstance: SakuliClass
TestActionChangeListener: TestExecutionContextEntityEventListener<TestActionContext>
TestActionEndListener: TestExecutionContextEntityEventListener<TestActionContext & FinishedMeasurable>
TestCaseChangeListener: TestExecutionContextEntityEventListener<TestCaseContext>
TestCaseEndListener: TestExecutionContextEntityEventListener<TestCaseContext & FinishedMeasurable>
TestContextEntityStateCritical: 2
TestContextEntityStateError: 4
TestContextEntityStateOk: 0
TestContextEntityStateUnknown: 3
TestContextEntityStateWarning: 1
TestContextKindCase: "case"
TestContextKindSAction: "action"
TestContextKindStep: "step"
TestContextKindSuite: "suite"
TestExecutionChangeListener: (state: TestExecutionContext) => void

Type declaration

TestExecutionContextEventTypes: typeof START_EXECUTION | typeof END_EXECUTION | typeof START_TESTSUITE | typeof UPDATE_TESTSUITE | typeof END_TESTSUITE | typeof START_TESTCASE | typeof UPDATE_TESTCASE | typeof END_TESTCASE | typeof START_TESTSTEP | typeof UPDATE_TESTSTEP | typeof END_TESTSTEP | typeof START_TESTACTION | typeof UPDATE_TESTACTION | typeof END_TESTACTION
TestStepChangeListener: TestExecutionContextEntityEventListener<TestStepContext>
TestStepEndListener: TestExecutionContextEntityEventListener<TestStepContext & FinishedMeasurable>
TestSuiteChangeListener: TestExecutionContextEntityEventListener<TestSuiteContext>
TestSuiteEndListener: TestExecutionContextEntityEventListener<TestSuiteContext & FinishedMeasurable>

Variables

END_EXECUTION: "END_EXECUTION" = "END_EXECUTION"
END_TESTACTION: "END_TESTACTION" = "END_TESTACTION"
END_TESTCASE: "END_TESTCASE" = "END_TESTCASE"
END_TESTSTEP: "END_TESTSTEP" = "END_TESTSTEP"
END_TESTSUITE: "END_TESTSUITE" = "END_TESTSUITE"
START_EXECUTION: "START_EXECUTION" = "START_EXECUTION"
START_TESTACTION: "START_TESTACTION" = "START_TESTACTION"
START_TESTCASE: "START_TESTCASE" = "START_TESTCASE"
START_TESTSTEP: "START_TESTSTEP" = "START_TESTSTEP"
START_TESTSUITE: "START_TESTSUITE" = "START_TESTSUITE"
SakuliBootstrapDefaults: { presetProvider: string[] } = ...

Type declaration

  • presetProvider: string[]
UPDATE_TESTACTION: "UPDATE_TESTACTION" = "UPDATE_TESTACTION"
UPDATE_TESTCASE: "UPDATE_TESTCASE" = "UPDATE_TESTCASE"
UPDATE_TESTSTEP: "UPDATE_TESTSTEP" = "UPDATE_TESTSTEP"
UPDATE_TESTSUITE: "UPDATE_TESTSUITE" = "UPDATE_TESTSUITE"
nodeSignals: Signals[] = ...

Functions

  • findSakuliPresets(nodeModulesPaths: string[]): string[]
  • getNodeModulesPaths(): Promise<string[]>
  • getPresetDeclarationFromFile(packageJsonPath: string): Promise<string[]>
  • isExistingDirectory(path: string): boolean
  • Reads sakuli bootconfiguration from a json file. The configuration is considered under a sakuli wich must implement the {@see SakuliBootstrapOptions} interface.*

    Per default it assumes the package.json in the current directory

    If no there is neither a readable file nor the corresponding key in the file the function will return an empty default config.

    Returns Promise<SakuliBootstrapOptions>

  • parseLogMode(logModeString?: null | string): undefined | LogMode