~/talk

Say No(de) to the Browser: Testing your Webapp Frontend Code Using Just Node

Talkat TestCon Vilnius 2017 · 2017-10-18..10-20· [javascript, testing, nodejs]
slides:none on file

Claims that full frontend integration tests run entirely under Node using JSDOM under Node with Babel/register, Mocha and React and without launching real browsers. Implements a counter app, exercises clicks and DOM updates via jQuery and mocks HTTP with nock, and reports ten times faster runs and hundreds of tests finishing in seconds. Visual screenshots and serviceworkers or webworkers remain unsupported so one or two real browser checks are still required to validate rendering.

AI-written summary · about

  1. 0:00Start
  2. 3:09Let's write an app
  3. 4:55Let's test the app
  4. 11:48How Do We Use This For Testing?
  5. 19:11Isomorphic Code
  6. 29:40Summary - An Ode to Node
~/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.