~/talk

flog Test.new

Talkat Ruby Hoedown 2008 · 2008-08-08..08-09· [testing, ruby]
links:none on file
slides:none on file

Adds a real test suite to flog rather than toy examples: forks to flame on GitHub, wraps command script with RSpec and Mocha, extracts and unit-tests pure functions, adds integration fixtures, and removes globals by switching to OptionParser. Coverage rises from ~74% to ~96%, with 126 incremental commits, some breaking then fixed. Introduces characterization tests to capture current behavior and builds flog plus blaming hooks (collect_blame) while exploring parse tree line mapping; overall refactor works and supports further features.

AI-written summary · about

  1. 0:00Testing legacy code
  2. 4:42Flog and characterization testing
  3. 16:22Test driving vs refactoring
  4. 21:41Adding tests to flog
  5. 36:32Characterization tests
  6. 41:26Handling recursion
  7. 52:46Refactoring scoring
  8. 57:01Cleaning up
  9. 1:00:15Blame feature and conclusion
~/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.