-
Notifications
You must be signed in to change notification settings - Fork 51
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
Implement an all-errors-in-once feature for multiple checks #122
Comments
Here is the working code I successfully spiked:
When it fails like in the test below:
The exception message looks like:
The next step for me would be to introduce a new operator As("Check of the name") for anyone to be able to set some metadata that would be output with the error messages. e.g.:
Any interest for that feature anyone? |
+1 for As or something like: Check.For("vigilante Name").That("Batman.... Michel -----Message d'origine----- Here is the working code I successfully spiked:
When it fails like in the test below:
The exception message looks like: 2 lazy checks failed:The checked boolean is true whereas it must be false. [True]The checked char is not a letter. ['.']The next step for me would be to introduce a new operator As("Check of the name") for anyone to be able to set some metadata that would be output with the error messages. e.g.:
Any interest for that feature anyone? |
I think it's due time to clarify anticipated use cases for the lazy checks. @miitch: I like your proposed syntax: Check.For("label").That(xxx) It should easy to add. |
Hi, V2.3 version has been massively refactored and open the door to such an evolution |
something like:
The text was updated successfully, but these errors were encountered: