Skip to content

Print colorful diff between actual output and an expected output on test failure via smth like colordiff #60

@EmilyGraceSeville7cf

Description

@EmilyGraceSeville7cf

It's really hard to detect the difference between actual and expected output right from the bats message when the test fails. Because bats doesn't indicate what the difference between expectation and real result:

image

Such a message doesn't really show what should be changed to make the test pass.

This issue is transferred from this repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions