assertj / assertj/assertj-db

`containsAtLeastValues` for column assertions

オープン
#38 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Java
スター
130
フォーク
21
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
databases, testing
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。