Readonly bodyThe (request) body.
Readonly cancellationA reason for cancellation.
Readonly cancellationGets if cancellation has been requested or not.
Readonly contextThe context, where the test is running in.
Readonly countCan be executed from the listener to handle a failed test.
Readonly descriptionThe description of the specific test.
Readonly escapedValue of query as escaped string
Readonly escapedReady-to-use path of the route with injected / replaced and escaped parameter values.
Readonly expectationsExpectations for the response.
Readonly fileThe full path of the underlying file.
Readonly groupThe test group / category.
Readonly groupThe zero-based index of the current test, inside the group.
Readonly groupSome value, change with the group.
Readonly headersHTTP request headers.
Readonly httpThe HTTP method.
Readonly indexThe zero-based index of the current test.
Readonly methodThe name / key of the underlying method.
Gets or sets a function, which listens for a cancellation event.
Readonly parametersURL parameters to use.
Readonly queryQuery parameters.
Readonly refA reference value.
Readonly routeThe path of the route with possible parameters.
Readonly serverThe underlying server instance.
Readonly sessionThe current test session.
Readonly tagSome value for this event (operation).
Readonly totalThe total number of tests.
Optional Readonly validateA custom validator function.
Generated using TypeDoc
A context for a
TestEventHandler.