TestMessage

open class TestMessage(source)

Message associated with the test state. Can be linked to a specific source range -- useful for assertion failures, for example.

Online Documentation

Constructors

Link copied to clipboard
constructor(message: JsAny)

Creates a new TestMessage instance.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Actual test output. If given with expectedOutput , a diff view will be shown.

Link copied to clipboard

Context value of the test item. This can be used to contribute message- specific actions to the test peek view. The value set here can be found in the testMessage property of the following menus contribution points:

Link copied to clipboard

Expected test output. If given with actualOutput , a diff view will be shown.

Link copied to clipboard

Associated file location.

Link copied to clipboard

Human-readable message text to display.

Link copied to clipboard

The stack trace associated with the message or failure.