Maintainable Tests While Maintaining Sanity
Offered By: ng-conf via YouTube
Course Description
Overview
Discover effective strategies for maintaining sanity while writing maintainable tests in this 21-minute conference talk from EnterpriseNG 2021. Learn why, how, and what to mock, understand the importance of avoiding NO_ERRORS_SCHEMA, and grasp the connection between NgModule and TestBed. Gain insights on configuring an Angular TestBed from scratch, laying the foundation for fast and lean spec files, and setting up TestBed for components with various dependencies using ng-mocks and other utilities. Acquire the knowledge to confidently approach unknown codebases, making TestBed configuration and unit testing an enjoyable process. Focus on the crucial aspects of testing specific behaviors rather than struggling with setup, ultimately improving your ability to create robust Angular applications.
Syllabus
Introduction
About me
Emergency
Mocking
Problems
General advice
Empty as mock
Antipattern
Resources
Taught by
ng-conf
Related Courses
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera