

Then chose the suitable browser say ‘firefox’ then As we want that ‘ webstorm’ has to look after change in any tests so select ‘no’ to the question ‘Do you want Karma to watch all the files and run the tests on change ?’ So to configure this we will chose ‘jasmine’ framework.As I said earlier ‘karma ’ is a test runner & ‘Jasmine’ is a test framework. so we are going through ‘Jasmine’ configuration. So using this configuration option we can adopt different Test frameworks like ‘Jasmine’, ‘mocha’ etc.basically this file will be set through the option which we are going to set while initializing ‘karma’. This command will initialize the karma and will be followed with certain questions to configure ‘’. To initialize ‘karma’ enter command ‘karma init’ on terminal.Install ‘karma’ inside webstorm project with command on terminal ‘npm install –g karma’ which installs the ‘karma’ for our application even we might go for installing karma globally using command prompt.Initializing ‘karma ’ with ‘jasmine’ framework. So majorly this integration will fall in two steps: jasmine tests) we are going to use ‘karma’ as ‘test runner’ & ‘jasmine’ as test framework.

WHAT ARE COMMANDS TO INSTALL WEBSTORM FROM TERMINAL CODE
Unit testing is one of the key features while developing any application weather it would be a server side code or client side and ‘Jasmine’ is one of the leading framework to test an angularJS application.So today we will walk through integrating ‘Jasmine’ with ‘WebStorm’.Of course, we should have ‘node.js’ installed on our machine that’s the prerequisite thing for this as you know.

It’s time to have some hands-on with unit testing !!!
