-
Notifications
You must be signed in to change notification settings - Fork 388
Open
Labels
questionThis issue is a questionThis issue is a questionstalewaiting for customerWaiting for customer actionWaiting for customer action
Description
My xunit tests projejct references by backend asp.net core project, which hosts a front end blazor (wasm) project (and hence has a reference to it)
I am attempting to exclude this blazor project from code coverage.
The test is run via an azure devops yaml:
- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: test
projects: '**/*.Tests*.csproj'
publishTestResults: true
arguments: '--configuration $(BuildConfiguration) --no-build --collect "XPlat Code Coverage" /p:CoverletOutputFormat="cobertura%2copencover" /p:SkipAutoProps=true /p:Exclude="[Foo.Client]*"'
However after this runs, and I look at the report uploaded to devops, it still shows me types in the Foo.Client assemlby:
The exclude pattern appears correct to me, am I doing something wrong?
Metadata
Metadata
Assignees
Labels
questionThis issue is a questionThis issue is a questionstalewaiting for customerWaiting for customer actionWaiting for customer action