The Next Generation of Testing
summary
Ember migrates from andThen promise chains to explicit async/await and replaces jQuery-backed helpers with ember-native-dom-helpers so click and find return native DOM nodes. Tests now split into four flavors — plain unit, container, rendering, application — wired by setupTest / setupRenderingTest / setupApplicationTest. Automated codemods convert roughly 95% of tests to the new APIs and there are helpers like waitFor / waitUntil for testing loading states plus data-test attributes removed from production via ember-test-selectors.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:40Antenna Helper
- 4:25jQuery
- 7:00nested modules
- 8:42testing unification
- 10:05unit tests
- 10:48container tests
- 13:28rendering tests
- 15:58application tests
- 17:37migration plan
- 19:41Mocking
- 21:17Loading States
- 23:05Custom Tests Helpers
- 24:02Test Selectors
- 25:38readable assertions
related talks
20mEasy-Bake Testing
21mTesting against time in JavaScript applications
31mThe Unofficial, Official Ember Testing Guide
28mDeveloping an Ember Test Strategy
25mTest-Driven Development of Ember.js Applications
25mThe Great Migration, Redesigning and Rewriting our App in Ember.js
16mTest as if you're in someone else's shoes
36mLiving with flaky tests
