Search Books
Learning Selenium Testing T… Getting Started with Knocko…

AngularJS Testing Cookbook

Author Simon Bailey
Publisher Packt Publishing - ebooks Account
Category Computers
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
29.99 USD
🛒 Buy New on Amazon 🇺🇸 🏷 Buy Used — $25.69

✓ Usually ships in 24 hours

Share:
Book Details
Author(s)Simon Bailey
ISBN / ASIN1783983744
ISBN-139781783983742
AvailabilityUsually ships in 24 hours
Sales Rank1,579,350
CategoryComputers
MarketplaceUnited States 🇺🇸

Description

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.

What You Will Learn

  • Install and configure all required tools and dependencies to begin testing your AngularJS application
  • Understand the anatomy of a unit test and integrate core fundamentals to begin testing AngularJS
  • Discover navigation and routing using both the AngularJS router and the ui-router library
  • Explore how to test controllers
  • Analyze test directives and user-based interaction
  • Explain the uses of spies and test events
  • Test services using mocks and spies
  • Animate test cases, both synchronously and asynchronously

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.

The Good Web Site Guide 2006: The Completely Revised, …
View
The Pentium Microprocessor
View
Advanced Intel Microprocessors: 80286, 80386, And 80486
View
Differential Equations: Matrices and Models
View
Digital Experiments: Emphasizing Troubleshooting (Merr…
View
Data Structures for Computer Information Systems
View
The Little LISPer, Third Edition
View
Inside Networks
View
Computer Graphics Using Open GL (2nd Edition)
View