Skip to content

Support of <Click to see difference> in Intellij #1882

Description

@Nikita-Guchakov

Hi, currently IDEs won't show if Atrium assertion fails

   expect(actual).toEqual(expected)
image

That makes test failures with large comparing objects annoying check.

To fix that that you can move to throwing AssertionFailedError from the https://github.com/ota4j-team/opentest4j JUnit initiative instead of AtriumError (or maybe just extend AtriumError from it, haven't check Atrium internals)
like many other assertion libraries already do (junit, assertj, assertk, strikt, kotest, kotlintest, etc).

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions