b) Karma. In the cstools project folder open test_suites/karma/install/ folder and execute karma-install.cmd

c) Jasmine. In the cstools project folder open test_suites/karma/install/ folder and execute jasmine-install.cmd

3. Configure

a) Open cstools project folderb) Open test_suites/karma folderc) Open karma.conf.jsfiles – files that should be loaded for testing and coverage statistic

exclude – files that should not be loaded for testing and coverage report

preprocessors – list of files from b. that should be included for coverage report

4. Create unit test

a) testcases folder – this folder created for unit tests, if you want to add new test please add new file. Please use testcases\sDs.test.js as example (please see comments in file for better understanding)

b) All files that located in this folder will be executed automatically

5. Run tests on local computer

a. Open cmd and chdir c:\cstools_unit\test_suites\karma

b. Run via type "karma start" and press enter

c. Find results in the c:\results\ folder

The c:\results\unit folder contains testing results

The c:\results\coverage folder contains results of coverage statistic

6. Add to Continuous Integration

a. After checking test locally push it to git.

b. If conf.js file has been changed, please push only files,exclude,preprocessors variables changes.