Skip to content

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

@Nikita-Guchakov

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions