Repeat mstest test run multiple times
问题 Some of my mstest unit tests help detect multi-threading race conditions, and as such they are most useful when run many times in a row, but I only want to do this for specific test runs -- not all the time. Is there a way to configure mstest (in the Test List Editor preferably) to run a test multiple times? 回答1: I needed to do something similar, so I came up with a solution to this. It's not simple, but once everything is setup you can reuse it across projects. I also have a download of this