Ebook: AngularJS Testing Cookbook
Author: Simon Bailey
- Tags: Internet Groupware Telecommunications Networking Cloud Computing Computers Technology Java Beginner s Guides Reference Servlets Languages Tools Programming JavaScript Web Development Design Almanacs Yearbooks Atlases Maps Careers Catalogs Directories Consumer Dictionaries Thesauruses Encyclopedias Subject English as a Second Language Etiquette Foreign Study Genealogy Quotations Survival Emergency Preparedness Test Preparation Words Grammar Writing Research Publishing
- Year: 2015
- Publisher: Packt Publishing
- Language: English
- pdf
Eliminate volatile code by taking control and understanding how to test AngularJS applications
About This Book
- Learn how to build a solid and more reliable AngularJS codebase through test-driven development using clearly defined recipes
- Understand how to set up and configure your development environment for unit and end-to-end testing of AngularJS applications
- Over 50 hands-on recipes to help you build a solid foundation in AngularJS
Who This Book Is For
This book is intended for developers who have an understanding of the basic principles behind both AngularJS and test-driven development. You, as a developer, are interested in eliminating the fear related to either introducing tests to an existing codebase or starting out testing on a fresh AngularJS application. If you're a team leader or part of a QA team with the responsibility of ensuring full test coverage of an application, then this book is ideal for you to comprehend the full testing scope required by your developers. Whether you're new to or are well versed with AngularJS, this book will guarantee a complete understanding of your application code and help reduce the cost of bugs.
In Detail
AngularJS stepped up to offer a comprehensive solution to frontend development with minimal dependencies and a clear set of objectives.
This book follows the AngularJS philosophy and offers guidance on how to approach testing components that make up the AngularJS framework. At the start of the book, you will explore how to configure your system to run unit and end-to-end tests. Following this, you'll become familiar with fundamental principles on testing AngularJS with Jasmine. Then, you'll understand how spies can enable you to test your code with greater coverage and simplicity throughout your application. The final result is an AngularJS application that is tested with integrity, helping facilitate a cleaner and more reliable codebase.