You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a microservice architecture with multiple services being hosted in a single repository. When we are building a service, we only build and test a certain set of projects. When we are calculating the coverage, it is pulling in a lot of code from other services somehow that are not tested in the service. So the coverage rate seems really bad.
How can we tell dotnet test to just include the project in a single location? Excluding all projects that shouldn't be there is an option but not very maintainable.
Is there a better way to do that? I tried with IncludeDirectory but that didnt change the result.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all!
We have a microservice architecture with multiple services being hosted in a single repository. When we are building a service, we only build and test a certain set of projects. When we are calculating the coverage, it is pulling in a lot of code from other services somehow that are not tested in the service. So the coverage rate seems really bad.
How can we tell dotnet test to just include the project in a single location? Excluding all projects that shouldn't be there is an option but not very maintainable.
Is there a better way to do that? I tried with IncludeDirectory but that didnt change the result.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions