Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICustomSuite

Hierarchy

Index

Constructors

constructor

  • new ICustomSuite(env: Env, description: string, specDefinitions: () => void, parentSuite: Suite): any
  • Parameters

    • env: Env
    • description: string
    • specDefinitions: () => void
        • (): void
        • Returns void

    • parentSuite: Suite

    Returns any

Properties

Optional allPassed

allPassed: boolean

Optional colorClass

colorClass: Function

Optional debugData

debugData: Array<any>

description

description: string

Optional durationFormatted

durationFormatted: string

Optional durationMilli

durationMilli: number

Optional durationWarning

durationWarning: boolean

Optional endTime

endTime: Date

Optional endTimeFormatted

endTimeFormatted: string

env

env: Env

Optional failedCount

failedCount: number

Optional iconClass

iconClass: Function

id

id: number

Optional implementationErrorCount

implementationErrorCount: number

isSpec

isSpec: boolean

level

level: number

Optional notRunCount

notRunCount: number

Optional parent

parent: ICustomSuite

parentSuite

parentSuite: Suite

Optional passedCount

passedCount: number

queue

queue: Queue

Optional skippedCount

skippedCount: number

Optional startTime

startTime: Date

Optional startTimeFormatted

startTimeFormatted: string

Optional viewChildren

viewChildren: Array<IViewData>

Methods

add

  • add(suiteOrSpec: SuiteOrSpec): void
  • Parameters

    • suiteOrSpec: SuiteOrSpec

    Returns void

afterAll

  • afterAll(afterAllFunction: SpecFunction): void
  • Parameters

    • afterAllFunction: SpecFunction

    Returns void

afterEach

  • afterEach(afterEachFunction: SpecFunction): void
  • Parameters

    • afterEachFunction: SpecFunction

    Returns void

beforeAll

  • beforeAll(beforeAllFunction: SpecFunction): void
  • Parameters

    • beforeAllFunction: SpecFunction

    Returns void

beforeEach

  • beforeEach(beforeEachFunction: SpecFunction): void
  • Parameters

    • beforeEachFunction: SpecFunction

    Returns void

children

  • children(): any[]
  • Returns any[]

execute

  • execute(onComplete?: () => void): void
  • Parameters

    • Optional onComplete: () => void
        • (): void
        • Returns void

    Returns void

finish

  • finish(onComplete?: () => void): void
  • Parameters

    • Optional onComplete: () => void
        • (): void
        • Returns void

    Returns void

getFullName

  • getFullName(): string

results

  • results(): NestedResults
  • Returns NestedResults

specs

  • specs(): Spec[]
  • Returns Spec[]

suites

  • suites(): Suite[]
  • Returns Suite[]

Generated using TypeDoc