Message associated with the test state. Can be linked to a specific source range -- useful for assertion failures, for example.
Static methods
staticdiff(message:EitherType<String, MarkdownString>, expected:String, actual:String):TestMessage
Creates a new TestMessage that will present as a diff in the editor.
Parameters:
message | Message to display to the user. |
---|---|
expected | Expected output. |
actual | Actual output. |
Constructor
new(message:EitherType<String, MarkdownString>)
Creates a new TestMessage instance.
Parameters:
message | The message to show to the user. |
---|
Variables
actualOutput:Null<String>
Actual test output. If given with {@link expectedOutput}, a diff view will be shown.
expectedOutput:Null<String>
Expected test output. If given with {@link actualOutput}, a diff view will be shown.