Join for free and connect with our local tech scene
Stay on top of the latest companies and upcoming events with our weekly newsletter, and be counted among the people building the future of your local tech community.
Justin James will be presenting Angular Unit Testing From The Trenches.
6:00 PM to 6:30 PM, social, drink or dinner time (unknown yet if food will be providered. 70% chance)
6:30 PM to 7:45 PM. Presentation
7:45 PM - 8:00 PM. Discussion time and event end.
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.
You will learn:
- Understand what is possible to unit test with Angular
- Understand how to actual create and run Angular unit tests
- Understand what issues you may encounter as you start creating your own unit tests and how to work around them
Justin James is the founder of Let Your Nerd Be Heard, creator of the Ultimate Presentation Formula for Nerds, Award Winning Entrepreneur, Amazon #1 Best Selling Author and a Microsoft MVP. He is hired by techie nerds to get them confidently on stage speaking to more than 1s and 0s and seen as the go to expert.
You can find Justin at: