visual studio , JavaScript , UnitTest

https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/debug-test/basic-tests-with-jasmine?view=toolsforcordova-2017

npm install --save-dev jasmine Installs Jasmine
npm install --save-dev karma Installs Karma
npm install --save-dev karma-jasmine karma-<browser>-launcher Installs Karma dependencies; replace <browser> with whatever you have installed, e.g. chrome, firefox, or ie.

 

 

https://docs.microsoft.com/en-us/visualstudio/cross-platform/tools-for-cordova/debug-test/visual-studio-unit-testing-with-chutzpah?view=toolsforcordova-2017

 For this section you’ll need to have the Visual Studio Tools for Apache Cordova installed. If necessary, restart Visual Studio’s installer, press Modify, check the box for Cross-Platform Mobile Development > HTML/JavaScript (Apache Cordova), and press Update.

 

posted @ 2018-06-21 16:31  ChuckLu  阅读(198)  评论(0编辑  收藏  举报