assertj / assertj/assertj-db

`containsAtLeastValues` for column assertions

Aperta
#38 1 commento 1 reazione 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
130
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
databases, testing
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.