Installation of Angularjs--karma

Source: Internet
Author: User
Tags install node

1, Preface:

Just learned the installation and use of grunt, the role of grunt is to let us do not want to do tasks can be automated, and can customize the task, then what is Karma?

Karma is Testcular's new name, in 2012 Google Open source testcular,2013 renamed Karma. Karma is a very mysterious name, representing the fate of Buddhism, karma.

Karma's role is to execute process management tools based on the node. js JavaScript test.

Installation of 2,karma

Because I am the WIN8 system, so you know, and I default you install node. js

    1. Install KARMA-CLI, open our cmd panel, enter NPM install-g in a random location karma-cli

In this way we will install the karma in our system's Global Directory (C:\USERS\JENNYNJ\APPDATA\ROAMING\NPM\NODE_MODULES\KARMA-CLI), note that the installation of KARMA-CLI is not installed Karma, now online has a tutorial that is directly using the command NPM install-g Karma can be, but I tried many times can not, perhaps the reason for the system, but if the first installation karma-cli, then install karma can be ,

2. Install Karma can actively create a file, with cmd find the new file directory, enter npm install karma can be downloaded from the network Karma

  

3, run Karma input Karma start

  

Can be browsed at http://localhost:9876,

  

Installation of Angularjs--karma

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.