简体   繁体   中英

How to run Karma+Jasmine+angular tests using Visual studio 2015?

Is it possible to run Karma+Jasmine+angular tests using Visual studio 2015? I tried very hard in past few days to do this but I am not able to achieve this. My existing project is created using webstorm and works like charm in webstorm. I am amaze the ease with which Webstorm can run karma test. Unfortunately, I only have 30 days license for Webstorm and will need to be able to run tests using Visual Studio 2015 going forward.

I have tried:

Karma Test Adapter

Jasmine Test Adapter

Chutzpah Test Runner

but the lack of documentation and instructional videos on these are big hurdles.

Karma Test adapter worked for me. Try downloading it through here

You may also need to download Karma through the Command Line.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM