RKCP Information Technology




Jasmine
Home » Courses   » Jasmine

Jasmine

Overview

This course is designed to impart the required knowledge on the tools and frameworks in order to adopt test driving JavaScript applications.


Objective

At the end of this Jasmine training, the participants will be able to:

  • Use Jasmine.js for writing specifications
  • Use 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

Preferred Audience

Web developer who wants to use complex JavaScript applications

Total Duration - 2 Days


Prerequisites

Need to have

  • Experience in Web development along 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