Skip to content

FluentValidation with .net core 3.0 is included at unit test coverage #1245

@FurstLevy

Description

@FurstLevy

Git code: https://github.com/FurstLevy/FluentValidation_Core3

System Details

  • FluentValidation version: 8.5.0
  • Web Framework version: netcoreapp3.0

Issue Description

Hello.
I'm using the FluentValidation with .net core 3.0.

When get the unit test coverage it takes the FluentValidation's namespace.

But when I change from netcoreapp3.0 to netcoreapp2.2 it doesn't take the FluentValidation's namespace as expected.
Follow example images.

For run the code sample with netcoreapp3.0:

$ cd XUnitTestProject1/

$ dotnet test --results-directory BuildReports/UnitTests /p:CollectCoverage=true /p:CoverletOutput=BuildReports\Coverage\ /

It will get the coverage including FluentValidation namespace.

For get the coverage without the FluentValidation namespace run the sample code with netcoreapp2.2 at both projects.

netcoreapp2_2

netcoreapp3_0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions