`containsAtLeastValues` for column assertions
- Langage dominant
- Java
- Étoiles
- 130
- Forks
- 21
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- databases, testing
- Type d'issue
- Fonctionnalité
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100