Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src

Index

Properties

datadogReporter

datadogReporter: (dataDogClientApiKey: string, environment?: string) => Reporter

Type declaration

    • (dataDogClientApiKey: string, environment?: string): Reporter
    • Creates a reporter to report failed/succeeded test cases to a datadog instance

      Parameters

      • dataDogClientApiKey: string
      • environment: string = ...

      Returns Reporter

overwatch

overwatch: (environments: string[], configFilePattern: string, testCaseFilePattern: string) => Promise<void>

Type declaration

    • (environments: string[], configFilePattern: string, testCaseFilePattern: string): Promise<void>
    • Main executing function

      Parameters

      • environments: string[]

        List of envrionments. This will filter the loaded projects and test cases

      • configFilePattern: string

        glob pattern relative to process.cwd() to load project config files

      • testCaseFilePattern: string

        glob pattern relative to process.cwd() to load test case files

      Returns Promise<void>

slackReporter

slackReporter: (slackWebhookUrl: string) => Reporter

Type declaration

    • Creates a slack reporter. This will create a list of failed/succeeded test cases and send them to a webhook

      Parameters

      • slackWebhookUrl: string

      Returns Reporter

Functions

Const addReporter

Const loadProjects

  • loadProjects(environments: string[], filePattern: string): Promise<Project[]>

Const loadTestCases

  • loadTestCases(environments: string[], filePattern: string): Promise<TestCase[]>

Const runner

Generated using TypeDoc