Jasmine JavaScript Testing

If you want to take your JavaScript coding to a new level of reliability and proficiency, this book is for you. Discover how to use Jasmine for unit testing whilst learning best practice for the whole JavaScript universe.

Jasmine JavaScript Testing

Paulo Ragonha

If you want to take your JavaScript coding to a new level of reliability and proficiency, this book is for you. Discover how to use Jasmine for unit testing whilst learning best practice for the whole JavaScript universe.
Mapt Subscription
FREE
$30.00/m after trial
eBook
$14.00
RRP $19.99
Save 29%
Print + eBook
$33.99
RRP $33.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$14.00
$33.99
$29.99 p/m after trial
RRP $19.99
RRP $33.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Jasmine JavaScript Testing Book Cover
Jasmine JavaScript Testing
$ 19.99
$ 14.00
Jasmine JavaScript Testing - Second Edition Book Cover
Jasmine JavaScript Testing - Second Edition
$ 27.99
$ 19.60
Buy 2 for $31.50
Save $16.48
Add to Cart

Book Details

ISBN 139781782167204
Paperback146 pages

Book Description

From a little renegade scripting language to the de facto standard platform of today, JavaScript has become a universal language available in the widest range of devices; it is truly the 'write once, run everywhere’ language. However, as JavaScript applications become more complicated, testing and applying sustainable software engineering practices also become mandatory.

Jasmine JavaScript Testing is a practical guide to a more sustainable JavaScript development process. You will learn by example how to drive the development of a web application using tests and best practices.

This book is about becoming a better JavaScript developer. So, throughout the chapters, you will not only learn about writing tests, but also about the best practices for writing software in the JavaScript language. This book is about acknowledging JavaScript as a real platform for application development and leveraging all of its potential. You will also learn about tooling and automation and how to make your life easier and more productive.

You will learn how to create a sustainable codebase with the help of Jasmine. We will take a look at integrated testing (with a backend NodeJS server) and how you can speed this process up by faking AJAX requests. As you progress through the book, you will learn about the challenges of testing an application built on top of a framework and how you can prevent your application from suffering from dependency management hell. Also, since your applications need to get into production, you will learn about optimizing the code to reduce the number of requests the browser needs to make while loading your application.

With this book, you will learn everything you need to know to become a real professional in the ever-demanding JavaScript universe.

What You Will Learn

  • Drive your application development entirely by tests
  • Organize your application code in modules with RequireJS
  • Create a fully-tested jQuery plugin
  • Solve problems and learn best practices for asynchronous testing
  • Use Stubs and Spies to perform quick unit testing
  • Test-drive a BackboneJS application
  • Optimize your JavaScript code to production
  • Master the power of tooling and automation with GruntJS
  • Run your tests on the cloud with Travis-CI

Authors

Book Details

ISBN 139781782167204
Paperback146 pages
Read More

Read More Reviews

Recommended for You

Jasmine JavaScript Testing - Second Edition Book Cover
Jasmine JavaScript Testing - Second Edition
$ 27.99
$ 19.60
Learning Game AI Programming with Lua Book Cover
Learning Game AI Programming with Lua
$ 26.99
$ 18.90
Clojure Reactive Programming Book Cover
Clojure Reactive Programming
$ 35.99
$ 25.20
TypeScript Essentials Book Cover
TypeScript Essentials
$ 17.99
$ 12.60
Learning TypeScript Book Cover
Learning TypeScript
$ 39.99
$ 28.00
Mastering MongoDB 3.x Book Cover
Mastering MongoDB 3.x
$ 27.99
$ 19.60