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

[Question] Why subcutaneous instead of unit tests for validation #41

Open
STotev opened this issue Sep 4, 2024 · 0 comments
Open

[Question] Why subcutaneous instead of unit tests for validation #41

STotev opened this issue Sep 4, 2024 · 0 comments

Comments

@STotev
Copy link

STotev commented Sep 4, 2024

Hi Amantin,

Is there any particular reason you are not having unit tests for the validation? Is there a benefit of writing subcutaneous tests if the validation behaviour itself is already unit tested?

FluentValidation library is already providing helper methods for unit testing and in one of my projects I write unit tests because they'll run much quicker and that will be beneficial in larger models.
In addition I write at least one failing subcutaneous test to verify a validator is successfully hooked up with the command.

I'd like to hear your opinion on that.

Thank you and keep up the good work.

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

No branches or pull requests

1 participant