Testing Angular Applications

iebukes MANNING 191 次浏览 没有评论
Testing Angular Applications Front Cover

Testing Angular Applications

by Corinna Cohn, Craig Nishina, Jesse Palmer, Mike Giambalvo
  • Length: 235 pages
  • Edition: 1
  • Publisher: Manning Publications
  • Publication Date: 2018-12-07
  • ISBN-10: 1617293644
  • ISBN-13: 9781617293641
  • Sales Rank: #632864 (See Top 100 Books)

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 web applications.

Testing Angular Applications is an example-rich, hands-on guide that gives the real-world techniques needed to thoroughly test all parts of Angular applications. The book starts with an introduction to Angular , TypeScript, testing fundamentals, and the testing frameworks and tools used in the book. Next, it explains how to set-up an Angular environment, including TypeScript and the Angular dependencies. The reader will then create their first component. The second part of the book focuses on the most important concepts of Angular, 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 applications and TypeScript.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Table of Contents

Chapter 1 Introduction To Testing Angular Applications

Part 1 Unit testing
Chapter 2 Creating Your First Tests
Chapter 3 Testing Components
Chapter 4 Testing Directives
Chapter 5 Testing Pipes
Chapter 6 Testing Services
Chapter 7 Testing The Router

Part 2 End-to-end testing
Chapter 8 Getting Started
Chapter 9 Understanding Timeouts
Chapter 10 Advanced Protractor Topics

Part 3 Continuous integration
Chapter 11 Continuous Integration

Appendix A Setting up the sample project
Appendix B Additional resources


Testing Angular Applications