hazems / JsUnitTesting

Java EE project which utilizes Jasmine and Karma JS for unit testing the JavaScript part of the application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JsUnitTesting

A Java EE project which utilizes Jasmine as a JavaScript unit testing framework, and Karma JS as test runners. This project gives you an example of how to:

  • Use Jasmine 2.0 for developing synchronous JavaScript tests.
  • Use Jasmine 2.0 for developing asynchronous JavaScript tests.
  • Use Karma JS as a JavaScript test runner for Jasmine.
  • Use Karma plugins in order to generate test reports.
  • Use Karma plugins in order to generate code coverage reports.

Running the test sample

cd WebContent/js
karma start config.js

About

Java EE project which utilizes Jasmine and Karma JS for unit testing the JavaScript part of the application.


Languages

Language:JavaScript 81.6%Language:CSS 9.0%Language:Java 8.0%Language:PHP 0.8%Language:Shell 0.3%Language:Perl 0.3%