4

Closed

Could not find test executor with URI 'executor://chutzpah-js/'.

description

Test adapter finds tests and shows them on test explorer, however when trying to run any of them the below message is displayed:

------ Run test started ------
Could not find test executor with URI 'executor://chutzpah-js/'. Make sure that the test executor is installed and supports .net runtime version 4.0.30319.34003.
========== Run test finished: 0 run (0:00:00.1242099) ==========

This happens both on VS 2013 and VS 2012
Closed Jan 6, 2014 at 2:32 PM by mmanela
This issue has been addressed in following build of Resharper:
http://download.jetbrains.com/resharper/ReSharperSetup.8.1.23.904.msi

comments

mmanela wrote Oct 29, 2013 at 3:47 PM

I have not seen this issue before. Could you give try to uninstall and re-install Chutzpah extension?

BeheadedKamikaze wrote Nov 6, 2013 at 4:44 AM

I get this error too. Windows 8.1 Enterprise x64, Visual Studio 2013 Premium, Chutzpah 2.5.0. I have tried running VS as Administrator but it didn't help.

'Run All' simply runs all the C# tests and silently does not run any JS tests. Right-clicking on an individual JS test and clicking Run Selected Tests outputs the message shown above into the Tests console.

I also have VS2012 Premium installed and can run tests under Chutzpah 2.4.1.

BeheadedKamikaze wrote Nov 6, 2013 at 5:08 AM

Disabling ReSharper 8.0.2 and restarting Visual Studio appears to be a temporary work-around. Perhaps there's something to it...

craigbrett17 wrote Dec 4, 2013 at 8:29 AM

I wasn't getting anything so detailed, my tests were simply not running from the Test Explorer, with no explanation in the test console.

However, I can confirm that turning off ReSharper solves it. Not ideal, as I like ReSharper.

craigbrett17 wrote Dec 4, 2013 at 8:32 AM

I should add, I'm using VS 2013 and ReSharper 8.

I love what this extension does, it'll be even better with this fixed.

craigbrett17 wrote Dec 4, 2013 at 8:37 AM

I should probably add, I'm using Visual Studio 2013 and Resharper 8.

I love what this extension does. It will be even better with this fixed.

mmanela wrote Dec 4, 2013 at 3:40 PM

So I am unable to repro this issue. I have Chutzpah installed and I have resharper install and I am still able to run fine. Can you run visual studio with the /log command and send me the output?

BeheadedKamikaze wrote Dec 4, 2013 at 11:58 PM

I have noticed that if you have the Test Explorer open when you exit Visual Studio, the next time it runs, the Chutzpah Test Adapter will not work.
If the Test Explorer is not open when you exit Visual Studio (instead, say, Solution Explorer is active), then the next time it runs, the Chutzpah Test Adapter will work fine after you switch back to Test Explorer.

I suspect when the Test Explorer initialises immediately as Visual Studio starts, Chutzpah is being registered as a test runner, but then ReSharper is taking over. When initialisation is deferred, Chutzpah is registered after ReSharper and so it's happy. Does that make sense?

I have diffed the logs in both scenarios and the only difference is the order the events are fired. There is some personal info in the logs so I am reluctant to post it here, but if you'd like me to email it to you, send me a PM with your contact info.

Cheers

guilhermesalerno wrote Dec 5, 2013 at 12:27 AM

Nice find BeheadedKamikaze! That's exactly what I'm experiencing as well. That also explains why there was an element of randomness involved too.

mmanela wrote Dec 5, 2013 at 5:51 PM

That is interesting. I am not sure what Resharper is doing since they do not integrate into the TestExplorer (they have their own test running UI).

I will try to dig into this further to see if there is anything Chutzpah can do to fix it but I think you should also file a bug against Resharper and see if they have any feedback.

vinay26 wrote Jan 6, 2014 at 5:49 AM

This issue has been addressed in following build of Resharper:
http://download.jetbrains.com/resharper/ReSharperSetup.8.1.23.904.msi

Thanks,
Vinay

mmanela wrote Jan 6, 2014 at 2:32 PM

Awesome!