~/talk

Easy-Bake Testing

Talkat EmberConf 2016 · on Wednesday, 2016-03-30· [ember]
slides:none on file

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

  1. 0:00Introduction
  2. 1:23What I wish I knew
  3. 3:18Acceptance tests helpers
  4. 4:59Types of tests
  5. 7:00Acceptance tests
  6. 7:54Mocks
  7. 11:05Frameworks
  8. 13:22Verdict
  9. 14:30Page Objects
  10. 16:12Best Testing Practice
  11. 17:41Resources
  12. 18:59Wrapup
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.