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

I do TDD, so I run a lot of unit tests per day. Each time I run the test, visual studio saves a new 12 MB folder on my disk.

I went to the options panel> testing tools> run the test and limited the number of old test results to 1. It did nothing.

How to disable this feature?

+6
source share
1 answer

Try installing the following cleanup script in the current test solution settings:

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

Source: https://habr.com/ru/post/896770/


All Articles