MStests taking too long to load

前端 未结 1 1864
感情败类
感情败类 2021-01-26 08:17

I have a project setup to use MSTests but they are simply taking too long to load all the the test DLLs, before even loading my project specific DLLs.

I´m on Visual Stud

相关标签:
1条回答
  • 2021-01-26 08:27

    Actually, after some research I found out that the main culprit was the usage of TestSettings1.testsettings instead of test.runsettings.

    After a bit of time adapting the tests, (mostly due to the lack of Global DeploymentItems, which I solved using a base class), the tests are now running under 10s which is way better.

    Think there´s still room for improvement though, but I´m at least satisfied for now

    0 讨论(0)
提交回复
热议问题