~/talk

Test-Driven Development with Vue.js

Talkat Vue.js Amsterdam 2020 · 2020-02-20..02-21· [testing, vue]

Builds a file‑upload Vue component with Vue Test Utils and Jest following red/green/refactor cycles, starts by making a failing spec that expects “uploading 2 files” for two inputs (3.2MB and 4.3MB → 7.5 MB), implements a progress bar with a 50% width, and drives size formatting tests that switch to kilobytes for <1000 bytes (0.75 KB) and gigabytes for billions. Extracts a utility to compute unit and power, fixes QA-reported edge cases, and all examples are implemented until tests pass.

AI-written summary · about

  1. 0:00Start
  2. 0:46Testing is one of the pillars of writing robust software.
  3. 3:39Test-Driven Development Popularized by Kent Beck
  4. 14:44Fixing issues with TDD
  5. 20:35TDD helps you write robust tests, not too many and not too few.
  6. 20:52TDD encourages refactors, which leads to better software design.
  7. 21:35Fixing bugs is far more costly than preventing them.
~/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.