All programmers want their code to work the way they intended. Jasmine, a popular
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
an understanding of Jasmine’s concepts and syntax.
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