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

`containsAtLeastValues` for column assertions

Open
#38 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
databases, testing

Research direction

Start at the existing column assertion entry point, containsValues, and review how exact value matching is tested. Add the corresponding containsAtLeastValues behavior for columns and ensure tests cover columns with additional rows while retaining the existing exact assertion behavior.

Written by the indexing model from the issue text.

Description

enhancement

Today we can assert that a column has exactly some values :

assertThat(table).column("name").containsValues("Hewson",
                                                "Evans",
                                                "Clayton",
                                                "Mullen");

If the table contains more rows / values, the assertion fails.

But it would be nice to have more flexibility and check if the column contains at least the given values.

Dominant language
Java
Stars
130
Forks
21
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-db

All issues in assertj/assertj-db

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.