Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 587 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 587 Bytes

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