MSTest - How to limit test result folders

后端 未结 1 1838
陌清茗
陌清茗 2021-01-01 12:49

Every time an MSTest runs it creates a new time stamped folder inside of TestResults. This can result in many files/folders that take up hard drive space.

相关标签:
1条回答
  • 2021-01-01 13:28

    You can limit the number of stored test-runs to 1, which should meet your requirements.

    MSDN have an article on how to achieve this:

    • In Visual Studio, click Options on the Tools menu.
    • The Options dialog box appears.
    • Expand Test Tools or Web Performance Test Tools and click Test Execution
    • Under Test Results Management, select the number of test runs to keep.
    • Click OK.
    0 讨论(0)
提交回复
热议问题