Always Learning

Advanced Search

Testing Angular Applications Covers Angular 2

Testing Angular Applications Covers Angular 2

Jesse Palmer, Corinna Cohn, Michael Giambalvo, Craig Nishina

Jan 2019, Paperback, 300 pages
ISBN13: 9781617293641
ISBN10: 1617293644
Special online offer - Save 30%
Was 33.99, Now 23.79Save: 10.20
  • Print pagePrint page
  • Email this pageEmail page
  • Share


The Angular 2 framework is great for building large-scale web applications that can be maintained and extended. And when building enterprise-level apps, testing is vital to the development process. Testing improves the quality of code and reduces maintenance, saving both time and money. Even though testing is crucial, it’s sometimes neglected since there are few established resources and standards when it comes to modern JavaScript web applications. Developers who know how to build and leverage tests are highly valued by their clients and companies.

Testing Angular Applications is an example-rich, hands-on guide that gives the real-world techniques needed to thoroughly test all parts of Angular 2 applications. The book starts with an introduction to Angular 2, TypeScript, testing fundamentals, and the testing frameworks and tools used in the book. Next, it explains how to set-up an Angular 2 environment, including TypeScript and the Angular 2 dependencies. The reader will then create their first component. The second part of the book focuses on the most important concepts of Angular 2, such as testing components, directives, pipes, services, and routing. This book will allow readers to confidently write unit and endto-end tests for Angular 2 applications and TypeScript.

Key features

• Testing components, directives, services and pipes

• Real-world techniques

• Hands-on examples

• Foundation for writing advances tests

• Provides code that can be reused in a production environment


This book is for readers with intermediate JavaScript skills and some experience with JavaScript frameworks. No experience with testing or Angular required.

About the Technology

Angular 2 is the latest version of the popular web application framework built by Google and its army of community contributors. Angular 2 is a mobile-first framework that promises to be fast, flexible, and expressive. The Angular 2 syntax is clean and easy to read, which lends itself nicely to rapid development and assists in writing tests.

Jesse Palmer has more than 15 years of web development experience with

Fortune 500 companies, the Federal Government, and small businesses. He is a Master Software Engineer at Capital One in Retail & Direct Technology

Group who also contributes to Angular.

Brian Hanafee is a Principal Systems Architect at a large financial institution, with experience building reliable and secure web-based applications and backing services for millions of customers.