开发者

How to keep visual studio 2010 from saving unit test results?

开发者 https://www.devze.com 2023-04-02 21:00 出处:网络
I do TDD so I run a LOT of unit tests per day. Every time I run a test, visual studio saves a new 12mb folder on my disk.

I do TDD so I run a LOT of unit tests per day. Every time I run a test, visual studio saves a new 12mb folder on my disk.

I went to the option panel > test tools > te开发者_运维知识库st execution and limited the number of old test results to 1. It didn't do a thing.

How can I disable that feature?


Try to setup the following cleanup script in your solution current test settings:

FOR /D %%I IN ("%TestDir%\..\*") DO (IF NOT "%%~fsI"=="%TestDir%" rmdir "%%~fsI" /s /q)
0

精彩评论

暂无评论...
验证码 换一张
取 消