pavzaj / visualmutator

Mutation testing tool for Visual Studio
GNU General Public License v2.0
10 stars 6 forks source link

MSTest search failure disables visual mutator #1

Open fire-eggs opened 7 years ago

fire-eggs commented 7 years ago

In MsTestService.cs, GetMstestExeDir(), the thrown FileNotFoundException() disables visual mutator completely.

If I change the method to return an empty string in this situation, visual mutator functions.

The method fails to find mstest.exe because my installation path for VS2015 is "E:\VS2015", and does not contain the words "MICROSOFT VISUAL STUDIO". I.e. the full path to mstest.exe is "E:\VS2015\Common7\IDE\MSTest.exe".

[visual mutator 0.22]