Testing JavaScript with Jasmine

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

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

Pre-requisite

All attendees should have a basic knowledge of HTML, JavaScript and CSS.

Duarion

5 days

Course Outline

  1. What is Software Testing?
  2. The Need for Software Testing
  3. TDD (Test Driven Development)
  4. BDD (Behaviour Driven Development)
  1. What is Jasmine?
  2. Why Use Jasmine?
  1. Setting up Jasmine
  2. Example Test
  1. Cardinal Rule
  2. Test Components
  3. Black-Box Testing
  1. Input Matcher
  2. Custom Matcher
  3. Regular Expressions
  1. Before and After
  2. Nested Suits
  3. Skipp Blocks
  4. Matching Class Names
  1. Spies: Behind the Concept
  2. SpyOn()
  3. CreateSpy()
  1. Equality Check
  2. Boolean Check
  3. Sequential Check
  4. Null Check
  5. Inequality Check
  6. Not a Number Check
  7. Exception Check

Reviews