Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can I no longer run unit tests from Resharper's test runner?

Things were running fine. Who knows what changed, but now I end up with:

Unit Test Runner failed to load test assembly: JetBrains.Resharper.TaskRunnerFramework.TaskException:Exception of type 'Microsoft.VisualStudio.TestTools.CommandLine.CommandLineParameterException' was thrown.

Any suggestions?

like image 579
basscinner Avatar asked Jul 26 '10 18:07

basscinner


2 Answers

I've just been having the same problem. It turned out that the Solution Items "folder" had a couple of .testsettings files in it which didn't actually exist (probably because they weren't added to the Git repo). Anyway, I removed them from the Solution and the R# runner now works fine.

Hope that helps.

like image 88
Mark Rendle Avatar answered Nov 20 '22 19:11

Mark Rendle


You can check here for R# bugs that have the same description and maybe find the cause of your problem or a possible workaround. This bug seems to come close.

like image 24
Ronald Wildenberg Avatar answered Nov 20 '22 20:11

Ronald Wildenberg