jeudi 1 septembre 2016

Chutzpah nuget package - how to use it with VS2015 javascript file-what is the procedure

I a web app developed in asp.net, angularjs, typescript and a unit test project in Visual Studio solution. i have written the unit test for my javascript files, I read about chutzpah, i learned that it could be used to run the unit test in visual studio itself, I tried using the extension mention at http://ift.tt/1OSbEoK and http://ift.tt/1IwC6mV with these it runs fine on my local machine.

but now i want to integrate my unit test cases with visual studio (tfs) build process, and i found some info here http://ift.tt/2c4VyhJ regarding this. i cannot update my build controller just like that but at the end of this artical someone mention that there is nuget package that can be used. i uninstalled my old extension and tried to use the nuget package but now i dont see the context menu for chutzpah and also unit test is not shown in visual studio..

  1. Will the nuget package gives same feature as extension, like running the test cases in visual studio itself, running single test case, also debugging the test case.

  2. my unit test project is different so my test files doesn't go _publishWebSite folder, i can copy it to some folder, but is it compulsory to have it in _publishWebSite folder.

using nuget package looks easy on build machine. what it the complete and correct procedure

Aucun commentaire:

Enregistrer un commentaire