Skip to content

FluentValidation not invoked from tests #35

Open
@markgould

Description

@markgould

Is it expected that FluentValidation is not invoked when running tests? Since it's using FluentValidation.AspNetCore it's only being invoked through the MVC pipeline, which is bypassed from the tests.

I ended up adding this to my test project, which invokes the validators as a pipeline behavior: https://github.com/GetoXs/MediatR.Extensions.FluentValidation.AspNetCore

Metadata

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