mmanela / chutzpah

Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha and TypeScript.
http://mmanela.github.io/chutzpah/
Apache License 2.0
550 stars 142 forks source link

Chutzpah Test Runner Context Menu: Modern browser support for debugging #795

Open Arrowana opened 3 years ago

Arrowana commented 3 years ago

It would be very helpful if it could be configured what browser to use when debugging using Visual Studio context menu "Run Chutzpah with" => "Debugger".

It opens Internet explorer, which is far from being a modern browser resulting and all sorts of missing things. As a result I cannot debug my code directly from visual studio.

The code that seems to be setting up the debugger attached to IE. https://github.com/mmanela/chutzpah/blob/a799dfd66c598d757eee9293ba9fe5e6f4295acc/VS.Common/VsDebuggerTestLauncher.cs#L17-L57

Mek7 commented 3 years ago

I think this is a "must have". We have set Engine: Chrome in chutzpah.json so we would expect that debugging also uses Chrome. Moreover, if we only mark a single test in Test Explorer in Visual Studio, all tests from the same file are run instead of the single selected one.

AngelRodriguez8008 commented 3 years ago

Same Problem tring to run Jasmine 3.7.1, Code Coverage, still also empty

AndrewBryanScott commented 3 years ago

We have a similar problem, IE does not support running WebGL and we have tests written to test mapping tool loads, really need to be able to change the browser the tests run in, these tests also fail in the test explorer "Couldn't create WebGL context. Your browser may not support WebGL, or it's turned off,"

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Mek7 commented 2 years ago

Please don't close until a fix is confirmed. I don't currently have a VS instance with chutzpah for testing at hand.