Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResultPaths

Hierarchy

  • ResultPaths

Index

Properties

actual: Storage
expected: Retrieval
isFlowResult: boolean = false
log: Storage
options: Options
runs: Runs

Methods

  • expectedExists(name?: string, instNum?: number): Promise<boolean>
  • Parameters

    • Optional name: string
    • instNum: number = 0

    Returns Promise<boolean>

  • flowInstanceFromActual(flowPath: string): undefined | FlowInstance
  • Parameters

    • flowPath: string

    Returns undefined | FlowInstance

  • getActualYaml(name?: string, instNum?: number): Yaml
  • Newlines are always \n. Trailing \n is appended.

    Parameters

    • Optional name: string
    • instNum: number = 0

    Returns Yaml

  • getExpectedYaml(name?: string, instNum?: number): Promise<Yaml>
  • Newlines are always \n.

    Parameters

    • Optional name: string
    • instNum: number = 0

    Returns Promise<Yaml>

  • responsesFromActual(): {}
  • Figures out locations and file extensions for results. Result file path relative to configured result location is the same as retrieval relative to configured tests location.

    Parameters

    Returns Promise<ResultPaths>

  • Figures out locations and file extensions for results. Result file path relative to configured result location is the same as retrieval relative to configured tests location.

    Parameters

    Returns ResultPaths

  • extractById(yamlObj: any, id: string, instNum: number, indent?: number): any
  • Flow step result by id

    Parameters

    • yamlObj: any
    • id: string
    • instNum: number
    • indent: number = 2

    Returns any

Generated using TypeDoc