JavaScript Unit Testing

JavaScript Unit Testing

by Saleh, Hazem

Type Book
Rate 0.0 /5

A practical, example-driven guide to using, automating, and integrating JavaScript Unit tests for the busy and conscientious JavaScript developer striving for excellence and success. JavaScript Unit Testing is a must have guide for every web developer, designer, architect, and JavaScript coder seeking to ensure the highest quality of their web applications and JS code. Knowledge of JavaScript is assumed.

Read More ↓

Title Statements

  • Full title :JavaScript Unit Testing.

Summary

A practical, example-driven guide to using, automating, and integrating JavaScript Unit tests for the busy and conscientious JavaScript developer striving for excellence and success. JavaScript Unit Testing is a must have guide for every web developer, designer, architect, and JavaScript coder seeking to ensure the highest quality of their web applications and JS code. Knowledge of JavaScript is assumed.

Read More ↓

Edition Statements

  • Publication Date:2013.

Publication Statements

  • Publisher(s):Packt Pub
  • Place of Publication:Birmingham
  • Language:eng
  • Publication Date:2013.

The Physical Object

  • Description:1 online resource (414 pages)

Edition Identifiers

  • ISBN:9781782160632, 1782160639, 1782160620, 9781782160625
  • oclc:ocn829461682
  • LC Classification:QA76.73 .J39
  • Dewey Decimal:006.76

Table of Contents

Table of Contents; JavaScript Unit Testing; JavaScript Unit Testing; Credits; About the Author; About the Reviewer; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Unit Testing JavaScript Applications; What unit testing is; Why we need unit testing; What Test-Driven Development (TDD) is.

Complexities in testing JavaScript applicationsWeather forecasting application; Exploring the application's HTML and JavaScript code; Running the weather application; Summary; 2. Jasmine; Configuration; Writing your first Jasmine test; The nested describe blocks; Jasmine matchers; The toBe matcher; The toBeDefined and toBeUndefined matchers; The toBeNull matcher; The toBeTruthy and toBeFalsy matchers; The toContain matcher; The toBeLessThan and toBeGreaterThan matchers; The toMatch matcher; Developing custom Jasmine matchers; Testing asynchronous (Ajax) JavaScript code; The runs() function.

The waits() functionThe waitsFor() function; …

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • JavaScript Unit Testing -- (.pdf)

    PDF · 3.5 MB · updated