~/talk

Unit Testing by Example

Talkat FrOSCon 2015 · 2015-08-22..08-23· [testing, developer-experience]
slides:none on file

Concrete, runnable recipes and PHP examples that show what to assert and why: parses-from-CSV as an interface-first exercise, tests that catch a 0.1 quantity bug by round 0.1 to 1, a shipping rule that makes orders >= 40 get free shipping over 40 instead of always charging 15, tax assertions for Quebec rates, and guidance on coverage and cyclomatic complexity so tests for zero and multiple items reveal a hidden totaling bug. Expect tool suggestions like Karma Jasmine CasperJS and real deployable outcomes.

AI-written summary · about

  1. 0:00Unit Testing by Example
  2. 25:22Step 4: before (TDD)
  3. 26:56Tips
  4. 28:29Recap
  5. 30:50Cyclomatic Complexity
  6. 31:01Execution Paths
~/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.