~/talk

Testing Big in JavaScript

Talkat JSConf US 2018 Β· on Tuesday, 2018-08-21Β· [testing, component-design]

Claim: a new test stack called BigTest targets component-driven apps, composes interactors for reliable, chainable DOM actions, and uses Mirage to mock a full client-side API so each test gets fresh, controllable data. Demos use a TodoMVC and a production app with ~1,100 UI tests running ~6 minutes on CI and 96% coverage; tests run in Chrome, Firefox, iOS Safari and more, plug into Mocha, and report very fast, low-flakiness results.

AI-written summary Β· about

  1. 0:00Start
  2. 1:17Unit tests?
  3. 1:53Render the full application in the browser
  4. 2:48What are the benefits?
  5. 3:11Test the loop between the browser & the application
  6. 4:29Flakey tests
  7. 5:03Protractor
  8. 6:33Faster rendering
  9. 8:02Chainable interactions
  10. 8:22Take advantage of modern tooling
  11. 8:51Maintainability & scaleability
  12. 9:15Full control over the network
  13. 10:04Cross browser
  14. 11:03Cross framework
  15. 11:13Cross test framework
  16. 11:37Built with components in mind
  17. 19:08You don't have to wait for the *ability to interact
  18. 26:41Mirage creates a client side server that mimics your API
  19. 27:08Shout out @samselikoff for building mirage
  20. 33:32Create default data with a scenario
~/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.