Interface IAfterEachTestContext

Context for a AfterEachTestFunc function / method.

interface IAfterEachTestContext {
    error?: any;
    index: number;
    session: Readonly<ITestSession>;
    totalCount: number;
}

Properties

error?: any

The error by single test, if occurred.

index: number

The current zero-based index.

session: Readonly<ITestSession>

The underlying session.

totalCount: number

The total number of tests.

Generated using TypeDoc