Skip to content

Make diff for failed assertions in IDEA IDE #4435

@kkocel

Description

@kkocel

I would like to have similar functionality as Junit 5 has in IDEA.

When assertion fails, there is an option to click a button to see how objects asserted are different:

image

In kotest I get detailed information about objects but no easy option to see the diff.

java.lang.AssertionError: Collection should have size 2 but has size 1. Values: [...]
	at com.example.SomeTest.should do sth

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions