~/talk

Selenium and the Four Rules of Simple Design

Talkat SeleniumConf Berlin 2017 · 2017-10-09..10-10· [testing, developer-experience]
links:none on file
slides:none on file

Live coding that starts with a single long brittle Selenium WebDriver Java test and iteratively refactors it into focused helpers, renaming driver→browser, extracting setup, extract search_product and locate_product, and committing each small change with tests run so the suite stays green. Demonstrates applying the Four Rules (tests pass, express intent, no duplication, small), pushes the refactored code to GitHub, and leaves a partially completed but working page-object extraction ready for followup.

AI-written summary · about

  1. 0:00Introduction
  2. 0:20Four rules of simple design
  3. 2:12Testing and clear intent
  4. 6:33Avoiding duplication
  5. 8:24Refactoring for simplicity
  6. 11:34Live coding demonstration
  7. 17:51Refactoring and naming
  8. 26:16Extracting methods
  9. 35:24Finalizing the design
~/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.