How to only include a certain directory #1406
Unanswered
KlemensGenetec
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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