Add toString() and equals() implementations for core domain types (Table, Row, Value, Column)
@VanRoy is already working on this.
Since Dec 11, 2025.
Assessment
This issue has not been assessed yet.
Description
Hi,
for many relevant domain types like
- Table
- Row
- Value
- Column
there are currently no implementations of toString() and equals() (and, by implication, hashCode()). This is a significant blocker for making reliable assertions across different datasets and hinders test readability and diagnostics.
My current workaround is:
Assertions.assertThat(actualRows)
.usingElementComparator(new CustomRowComparator())
.withRepresentation(new CustomRowRepresentation())
.containsExactlyInAnyOrderElementsOf(expectedRows);
I would like to contribute a fix by adding consistent equals(), hashCode(), and toString() implementations for the classes above.
- Dominant language
- Java
- Stars
- 130
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from assertj/assertj-db
-
question
Difficulty 3/5 1-2 days Newbie friendliness 32/100
assertj/assertj-db#292 · 1 comment ·
-
question
Difficulty 3/5 1-2 days Newbie friendliness 35/100
assertj/assertj-db#290 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
assertj/assertj-db#259 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
assertj/assertj-db#206 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
assertj/assertj-db#176 · 1 comment ·
All issues in assertj/assertj-db
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
apache/rocketmq-dashboard#4860 · 1 comment ·
-
agent-audit bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Vault-Web/cloud-page#144 ·