Part 4: AEM with Angular 2 - Unit Testing Angular Components & Services
This article is continuation of a multi-part series on AEM + Angular 2 integration. You can read previous 3 articles from this series here: Part 1: http://suryakand-shinde.blogspot.com/2017/06/part-1-angular-2-with-aem-introduction.html Part 2: http://suryakand-shinde.blogspot.com/2017/06/part-2-aem-with-angular-2-building.html Part 3: http://suryakand-shinde.blogspot.com/2017/06/part-3-aem-with-angular-2-aem-component.html In previous three parts, we have learned: Angular 2 & Challenges of using AEM with Angular 2 Project Structure of AEM + Angular 2 project and custom build script Developing AEM components using Angular 2 In this part, we’ll learn about Unit testing Angular code base and collecting code coverage matrix. Unit testing is very important from code quality perspective and it becomes even more important when project is large and multiple teams are working on same project. In large projects, dividing large systems in to small and loosely coupled