Skip to content

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

Open
@STotev

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions