Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Jasmine JavaScript Testing

Jasmine JavaScript Testing, 9781782167204 (178216720X), Packt Publishing, 2013

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 from this book

  • 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


The book uses a concise, to-the-point approach to help developers understand and use the power of Jasmine to create better and more maintainable codebases.

Who this book is written for

This book is a must-have guide for web developers who are new to the concept of unit testing. It’s assumed that you have a basic knowledge of JavaScript and HTML.

(HTML tags aren't allowed.)

Energy Evolution (The Eco-Technology Series)
Energy Evolution (The Eco-Technology Series)
Coincidence? Or perhaps not! Standing as we are on the threshold of a new era, the first dawning of a new age, there is an air of expectancy of things imminent and better. In a certain sense this has psychologically programmed us with a willingness to embrace new concepts, to inaugurate and accept far-reaching change. It is also a time to reflect...
Logic of Analog and Digital Machines
Logic of Analog and Digital Machines
Computer Science is a very young discipline compared to most others. Alan Turing published the seminal paper of the field in 1936. Around the same time, the militaries in Germany, UK, and US commissioned the first digital electronic computer projects. One of these, the Colossus at Bletchley Park in the UK, was used to break the...
Nikon D600 For Dummies
Nikon D600 For Dummies

A full-color beginner guide to the basics of the Nikon D600

The Nikon D600 is a professional-level full-frame sensor that is sure to attract an audience of DSLR newcomers and pros. This friendly-and-thorough full-color guide shows you how to get a firm grasp on this powerful camera and helps you to ultimately get better photos. *...

XSLT 2.0 Web Development
XSLT 2.0 Web Development

Leverage the incredible power of XSLT 2.0 to create sites that are easy to build, maintain, and extend!

This book teaches you exactly how to build state-of-the-art web sites with XSLT 2.0 and XPath 2.0. XML developer and web designer Dmitry Kirsanov drills down to...

Dreamweaver CS6: The Missing Manual (Missing Manuals)
Dreamweaver CS6: The Missing Manual (Missing Manuals)
Websites evolve every year, growing in scope and complexity, with new features popping up to make sites look and work ever better. Even people building personal sites use various programming languages and server technologies to dish up content.

Throughout its history, Dreamweaver has managed to
Schaum's Easy Outline: Programming with C++
Schaum's Easy Outline: Programming with C++
Boiled-down essentials of the top-selling Schaum's Outline series for the student with limited time

What could be better than the bestselling Schaum's Outline series? For students looking for a quick nuts-and-bolts overview, it would have to be Schaum's Easy Outline series. Every book in this series is a pared-down, simplified,...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy