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

Specifications should run all of their validators, regardless of assertion errors #13

Open
mjahlv opened this issue Apr 27, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mjahlv
Copy link
Collaborator

mjahlv commented Apr 27, 2021

The current behaviour is that Specifications will only run until they reach an error. This means all subsequent validators in a specification will not get run, and so the test will not report on further issues.

Specifications should run all of their validations and continue on error so that all assertion errors are reported.

@mjahlv mjahlv added the enhancement New feature or request label Apr 27, 2021
@mjahlv mjahlv changed the title Specifications should run all of their validators, regardless of errors Specifications should run all of their validators, regardless of assertion errors Apr 27, 2021
@markcunninghamuk
Copy link
Owner

I will look at how this can be done, the main challenge is assertions from the mstest, fluentvalidations and others fail the test when the first condition is not met, so may need to add extensions for this scenario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants