assertj / assertj/assertj-db

`containsAtLeastValues` for column assertions

Open
#38 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
130
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.