Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Would be nice if there would be the possibility to show differences in Seperate Diff Window like Assers.assertEquals does

Open
#270 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
testing

Research direction

Start by locating the existing Asserts.assertEquals handling that produces the separate difference window, then compare it with the assertThat().equalsTo() path. Confirm how expected and actual values are passed to each assertion and identify the tests covering difference display. Done means equalsTo() offers equivalent expected-versus-actual diff behavior for long outputs.

Written by the indexing model from the issue text.

Description

image

When using Asserts.assertEquals there is the option to show difference, which is helpful from time to time if you for example test a toString, or other long outputs.

image

If you are clicking on the -Link you get a window as shown below which shows the differences between the expected and the actual.

image

Would be nice if this option would be show to if using assertThat().equalsTo().

Dominant language
Java
Stars
121
Forks
52
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from assertj/assertj-swing

All issues in assertj/assertj-swing

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.