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

Support of a new shortcuts named some-rows and single-row for assertions with predicates #310

Closed
Seddryck opened this issue Oct 23, 2017 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Oct 23, 2017

Currently we've two shortcuts all-rows and no-rows to work with predicates. It should be possible to define two new shortcuts named some-rows and single-row.

some-rows will return a success when at least one row is validating the predicate. Equivalent to more-than 1
single-row will return a success when at one and only one row is validating the predicate. Equivalent to equalTo 1

@Seddryck Seddryck added this to the v1.17 milestone Oct 23, 2017
@Seddryck Seddryck changed the title Support of a new shortcut named some for the constraint row-count associated to a filter Support of a new shortcuts named some-rows and only-one-row for assertions with predicates Oct 24, 2017
@Seddryck Seddryck changed the title Support of a new shortcuts named some-rows and only-one-row for assertions with predicates Support of a new shortcuts named some-rows and single-row for assertions with predicates Oct 25, 2017
@Seddryck
Copy link
Owner Author

Seddryck commented Nov 1, 2017

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

1 participant