Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts
Monday, 29 April 2019
Running javascript tests in visual studio Test Explorer using Chutzpah
Add the Chutzpah Test Adapter for the Test Explorer extension into visual studio
Add some js files to your test project that will hold the javascript tests
Add a chutzpah.json settings file if you want? I found with mine that Chutzpah wasn't respecting the order that the references were added in, so it wasn't much help
Write your javascript tests
After one of visual studio's test discovery phases (e.g. runs after a build) the javascript tests should show in the Test Explorer
When you run tests the JS ones will also run
Tuesday, 17 December 2013
Visual Studio stops loading after attempting to open a solution
Ok, so, sometimes when you've been screwing around with a solution (e.g. taking a copy of an offline solution that is normally attached to TFS) and you open it you'll find that Visual Studio chokes and never finishes loading:
And you see the balloon we all love so much
I seem to encounter this the second time I open a solution, the first time it opens fine. Visual Studio can sit in this state forever. Or at least for so long that I can't be bothered waiting any longer. Then it needs to be killed via Task Manager. This kind of sucks.
To fix this you can try deleting the .suo files for the solution. These are Visual Studios solution user options files. They are hidden files so you might need to tell explorer to show them:
Send them to the trash and next time you open the solution it might load a bit better.
Subscribe to:
Posts (Atom)











