Overview
Discover effective strategies for testing RxJS observables in this 27-minute conference talk from EnterpriseNG 2021. Learn why marble tests may not be the best approach and explore more intuitive tools and techniques to increase code confidence and simplify refactoring. Gain insights on transforming existing marble tests into clearer, more readable alternatives. Delve into topics such as cost-effective development, test-effective practices, and the benefits of using AutoSpy and ObserverSpy. Master the art of writing clear, maintainable tests for RxJS observables to improve overall code quality and developer productivity.
Syllabus
Intro
Who am I
What is cost effective
Whats preventing companies from achieving these goals
Test Effective Development
Cost Effective
Sleep Tight
Testing observables
Structure
Marble Testing
Marble Testing Issues
Testing Implementation Details
Why do I care
The structure problem
Testing is testing
Writing a test
AutoSpy
AutoSpy benefits
AutoSpy API
Subscribe Method
Issues with subscribe method
ObserverSpy
Featured
Benefits
ObservatorSpy
Other principles
Test Effective Angular
Summary
Taught by
ng-conf