Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
JavaScript Testing with Jasmine: JavaScript Behavior-Driven Development

Buy
All programmers want their code to work the way they intended. Jasmine, a popular testing framework for the JavaScript programming language, allows you to achieve that goal. Through coded specifications, Jasmine helps make your JavaScript work exactly how it’s supposed to. In this book, we’ll explore Jasmine in detail, from its basic concepts to its advanced features.

This book aims to explain the concepts of testing and test-driven development, as well as why they’re useful. It then aims to dive into Jasmine and explain how it can help programmers test their JavaScript code. By the end of this book, I aim to give readers an understanding of Jasmine’s concepts and syntax.

Get a concise introduction to Jasmine, the popular behavior-driven testing framework for JavaScript. This practical guide shows you how to write unit tests with Jasmine that automatically check for bugs in your application. Learn how to write specifications for individual components, and then use those specs to test the code you write.

Throughout the book, author Evan Hahn focuses primarily on methods for testing browser-based JavaScript applications, but you’ll also discover how to use Jasmine with CoffeeScript, Node.js, Ruby on Rails, and Ruby without Rails. You won’t find a more in-depth source for Jasmine anywhere.

  • Get an overview of both test-driven and behavior-driven development
  • Write useful specs by determining what you need to test—and what you don’t
  • Test the behavior of new and existing code against the specs you create
  • Apply Jasmine matchers and discover how to build your own
  • Organize code suites into groups and subgroups as your code becomes more complex
  • Use a Jasmine spy in place of a function or an object—and learn why it’s valuable
(HTML tags aren't allowed.)

Requirements Engineering: Foundation for Software Quality: 25th International Working Conference, REFSQ 2019, Essen, Germany, March 18–21, 2019, Proceedings (Lecture Notes in Computer Science (11412))
Requirements Engineering: Foundation for Software Quality: 25th International Working Conference, REFSQ 2019, Essen, Germany, March 18–21, 2019, Proceedings (Lecture Notes in Computer Science (11412))

This book constitutes the proceedings of the 25th International Working Conference on Requirements Engineering - Foundation for Software Quality, REFSQ 2019, held in Essen, Germany, in March 2019.

The 13 full papers and 9 short papers in this volume were carefully reviewed and selected from 66 submissions. The papers...

Linux Smart Homes For Dummies (Computer/Tech)
Linux Smart Homes For Dummies (Computer/Tech)
Make your home safer and more efficient with Linux

Linux home automation has never been simpler or more fun!

A smart home's a happy home! Teach yours lots of new tricks with Linux. Not only can you arrange automation for lights, appliances, and watering the lawn, you can also...

Practical Ext JS 4
Practical Ext JS 4

Practical Ext JS 4 will get you up and running, using Ext JS 4.2 for your projects, as quickly as possible. After a quick refresher on some JavaScript basics, you will get to grips with Ext JS 4’s OO concepts (such as mixins) and familiarize yourself with its UI components and layout. You'll learn all the core features of...


Origamics: Mathematical Explorations Through Paper Folding
Origamics: Mathematical Explorations Through Paper Folding
The art of origami, or paper folding, is carried out using a square piece of paper to obtain attractive figures of animals, flowers or other familiar figures. It is easy to see that origami has links with geometry. Creases and edges represent lines, intersecting creases and edges make angles, while the intersections themselves represent points....
Corporate Power in Global Agrifood Governance (Food, Health, and the Environment)
Corporate Power in Global Agrifood Governance (Food, Health, and the Environment)

In today's globally integrated food system, events in one part of the world can have multiple and wide-ranging effects, as has been shown by the recent and rapid global rise in food prices. Transnational corporations (TNCs) have been central to the development of this global food system, dominating production, international trade, processing,...

Web Accessibility for People with Disabilities (R & D Developer Series)
Web Accessibility for People with Disabilities (R & D Developer Series)
Key Benefits Comply with all legal mandates and standards Master HTML enhancements for accessibility Employ the best accessibility tools Make your Web site accessible to everyone! This definitive resource provides Internet and Web administrators and devel

Make your Web site accessible to everyone!
...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy