RKCP Information Technology
                                                                                                          Jasmine
Home » Courses   » Jasmine

Jasmine

Overview

This course is aimed at imparting the required knowledge on the tools and frameworks in order to adopt test driving JavaScript applications.


Objective

At the end of Jasmine.js training course, the participants will be able to deveolop:

  • Use Jasmine.js for writing specifications
  • Using Jasmine Spies for Mocking
  • Use Karma for running the tests on different browsers
  • Configure and perform continuous integration using Grunt.js
  • Maintain client-side dependencies using Bower.js or Browserify.js

Suggested Audience

Web developer who wants to test-drive complex JavaScript applications

Duration - 2 Days


Prerequisites

Must Have

  • Web development experience with HTML, CSS, JavaScript

Good To Have

  • Exposure to any server technology (J2EE, .NET, Ruby etc)


Syllabus

Expand All
  • 1. Test Goals
    • Boundary conditions
    • Check Inverse Relationships
    • Cross Checking Results
    • Force Error Conditions
    • Performance Characteristics
  • 2. Jasmine.js
    • Understanding Jasmine.js
    • Writing specifications in Jasmine.js
    • Learning built-in matchers
    • Covering before and after
  • 3. Advanced
    • Using Spy for Mocking
    • Nesting describe blocks
    • Writing Custom Matchers
    • Asynchronous support using *runs*
    • Testing UI using Jasmine.js
    • Jasmine jQuery Helpers
  • 4. Continuous Integration
    • Introduction to Grunt.js
    • Overview of Grunt tasks
    • Creating and configuring a CI workflow using Grunt.js
  • 5. Other
    • Use Karma for browser testing
    • Client-side dependency management using Bower.js