Skip to content

Include actual/expected values in error events #2123

Open
@DanTup

Description

@DanTup

VS Code runs test with -r json and uses the data to populate its test runner. The API allows us to provide expected/actual values for a test failure which can be rendered as a diff:

Screenshot 2023-10-18 160512

Screenshot 2023-10-18 160529

This could be more convenient for some operations (such as copy/pasting the raw expected value), but it requires that we have these values in the JSON payloads in their raw form (not embedded in some string).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions