Unit Test Discovery Crawls

Roger Montgomery 1 Reputation point

Situation: My solution consists of an Angular/Typescript web site, ASP.Net Core middle layer, some support library projects, and T-SQL database layer. The Angular website project is NOT included in the build. It is just there sharing GIT space. Problem: Whenever building the solution, Visual Studio brings the system to a crawl. Why? Because detection of Unit Tests is searching the Angular project even though it should be ignored. Angular projects have 1000's of files, none of them important to VS Unit Tests. Resolution: Visual Studio should NOT search projects that are NOT included in the build when searching for Unit Tests. Information: By removing the Angular project, and simply managing it with VS Code, Visual Studio behaves responsively. This problem occurs when using either MS Tests or NUnit. The fix should be simple because the solution properties can be examined by the Visual Studio team and skip those project folders that are not part of the build.

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 Reputation points

    Hi RogerMontgomery,

    We suggest you can report it to developer community: https://developercommunity.visualstudio.com/report?space=8&entry=problem

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    0 comments No comments