Easy-Bake Testing
summary
Ember apps get QUnit out of the box plus Ember Test Helpers and Testem so tests run and wait for async helpers; unit tests exercise pure functions, integration/component tests render components, acceptance tests drive the app flow. Mirage is recommended to mock API responses with server.patch and named routes, reducing flaky network hits, and ember-cli-page-object encapsulates selectors. Use write custom test helpers and keep tests small and focused; Sinon or similar provide mocks stubs and spies for isolated unit tests.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:23What I wish I knew
- 3:18Acceptance tests helpers
- 4:59Types of tests
- 7:00Acceptance tests
- 7:54Mocks
- 11:05Frameworks
- 13:22Verdict
- 14:30Page Objects
- 16:12Best Testing Practice
- 17:41Resources
- 18:59Wrapup
related talks
31mThe Unofficial, Official Ember Testing Guide
28mThe Next Generation of Testing
25mTest-Driven Development of Ember.js Applications
24mLet's Test that Addon!
23mBring Sanity to Frontend Infrastructure with Ember
24mNew to Ember: What ARE All These Things?
26mAmbitious UX for Ambitious Apps
26mModern Javascript Frameworks - Introduction to Ember.JS and Ember-CLI
