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 143 forks source link

Chutzpah VS extension is shipping MSTest dlls #825

Open Evangelink opened 1 year ago

Evangelink commented 1 year ago

Hi there,

I am wondering if this is expected that Chutzpah Adapter VS extension is shipping MSTest dlls. My understanding is that chutzpah is not at all relying on MSTest to run its tests (or am I missing something?).

Evangelink commented 1 year ago

Hi @mmanela,

Is it something you can help me with? Or can you point me to the person who could help here?

mmanela commented 1 year ago

@Evangelink Which specific dlls are you speaking of?

Evangelink commented 1 year ago

@mmanela The chutzpah adapter extension for VS is shipping the following 2 MSTests dlls:

Because of some technical limitation we couldn't bump the assembly version of MSTest and so as vstest.console.exe is loading dlls from VS folders before nuget folder, we end up loading MSTest framework dll from your extension which is causing runtime issue (because code was changed).

I was wondering why these 2 dlls are shipped? AFAIK it seems you don't need MSTest from chutzpah to work.

Epicycle23 commented 11 months ago

This might explain why my test explorer stops working again and again with an error "Field TestContext not found.". It probably uses the shipped dll's. Just a guess, I ended up disabling the extension which at least for now seems to resolve the issue.