Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TestExecutionLifecycleHooks<T>

Type parameters

  • T = any

Hierarchy

  • TestExecutionLifecycleHooks

Implemented by

Index

Methods

  • Invoked in case an unhandled error occurs during Sakuli execution like unhandled rejection or unexpected exception. This is an emergency hook to ensure that registered lifecycle hooks get the chance to cleanup resources before Sakuli terminates.

    Parameters

    • error: any

      The unhandled error which caused the invocation of this hook

    • project: Project

      The currently executed project

    • testExecutionContext: TestExecutionContext

      The current test execution context

    Returns Promise<void>