Karma: first steps

Node as ever: http://www.nodejs.org/

then command line prompt, and…

npm install -g karma-cli

npm install karma-jasmine karma-chrome-launcherkarm01

npm install karma-jasmine karma-chrome-launcher

karma02

karma03

karma init

karma08

karma09

karma07

Let’s give it a spin:

karma start

That gives this:

karma10

Unblock it and run 1 more time…

karma11

OK, so look’s like everything has to be on the path, or I’ve missed a dependency.

Enough.

Advertisements

One thought on “Karma: first steps

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s