For a number of years now we have been hearing about all of the benefits that automated unit testing provides like increasing our quality, catching errors earlier, ensuring that all developers are testing in the same manner and deploying updates with high confidence that nothing will break. Testing a Web UI though was difficult and fragile which meant that typically we had no automated unit test for our Web UI. This is no longer the case with the latest release of Angular. Unit testing is now a first class citizen in Angular.
Out of the box, the project generated by the Angular CLI has unit testing setup with Karma and Jasmine and includes sample tests. Generating new components, services, and pipes includes the unit test Spec file already wired up. Thus allowing you to focus on writing your unit tests and not on the infrastructure needed to get them running. The barriers to writing unit test have been destroyed.
This talk will walk through getting started unit testing your Angular components, services, and pipes. Along the way I will share the tips and tricks that I have learned as I have implemented unit testing on my Angular projects at a Fortune 100 company. You will walk away ready to immediately implement unit testing on your Angular project.
Justin is a web developer and professional speaker that loves to code, teach, and share his knowledge with others to help them grow in their careers. He specializes in making the complex simple and easy to understand.
Justin has been programming and designing web applications since the time it was required to have blinking text and neon colored themes. He frequently speaks at conferences, meetups and community events. He has been a guest on the .NET Rocks podcast (episodes 1158 and 1390) and the Angular Air videocast (episode 105). Justin also blogs his thoughts about software development and speaking at http://digitaldrummerj.me.
In his free time, Justin is one of the organizers for the Arizona Give Camp helping to put on hackathons for developers to code it forward to assist Non-Profits with their IT needs. As well, Justin organizes the Phoenix Version Control and Ionic Arizona meetups.
Justin has worked at Intel over 20 years in various groups leading software development projects, being an Agile advocate and most recently has taken on a role as a DevOps Evangelist.