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
Introduction to Unit Testing in Jest - The FundamentalsCoursera Project Network via Coursera Unit Testing for Data Science in Python
DataCamp WebServices/Rest API Testing with SoapUI +Real time Projects
Udemy Testing Fundamentals in iOS
Pluralsight F#: Automated Testing for Developers
LinkedIn Learning