Testing is vital to the development process. It improves the quality of code and reduces maintenance, saving both time and money. But testing is sometimes neglected since there are few established resources and standards when it comes to testing modern Angular 2 web applications.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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 end-to-end tests for Angular 2 applications and TypeScript.