Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

containsAtLeastValues for column assertions #38

Open
uhensler opened this issue Apr 27, 2016 · 1 comment
Open

containsAtLeastValues for column assertions #38

uhensler opened this issue Apr 27, 2016 · 1 comment

Comments

@uhensler
Copy link

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.

@regis1512
Copy link
Member

It is a good idea. Thanks.

@scordio scordio added this to Ready to start in hack.commit.push 2021 via automation May 27, 2021
@scordio scordio changed the title contains at least containsAtLeastValues for column assertions May 27, 2021
@scordio scordio removed this from Ready to start in hack.commit.push 2021 May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants