~/talk

Design patterns to boost your test automation

Talkat HUSTEF 2023 · 2023-10-03..10-05· [testing]
links:none on file
slides:none on file

Claims that familiar OO design patterns speed development, reduce late-found bugs, and make test code readable; shows concrete patterns and examples: Builder pattern decouples tests from constructors by creating Employee builders so tests pass only relevant fields; Decorator models UI variations with coffee example and lets AB-test components; Strategy swaps slow UI registration for fast API user-creation; Singleton centralizes config and webdriver but warns it’s often an anti-pattern; Page Object causes long classes and maintenance pain and Screenplay refactors tests into actor‑task‑question objects improving reuse and clarity.

AI-written summary · about

  1. 0:00Welcome
  2. 1:12Meet the speaker
  3. 2:37Need for design patterns
  4. 4:02History and theory
  5. 8:22Design patterns vs SOLID
  6. 10:11Builder pattern for data
  7. 16:51Builder benefits
  8. 17:32Decorator pattern
  9. 20:02Strategy pattern
  10. 21:48When to use Strategy
  11. 22:31Singleton pattern
  12. 25:20Singleton drawbacks
  13. 26:04Page Object problems
  14. 27:28Page Object smells
  15. 28:50SOLID in Page Objects
  16. 31:19Screenplay pattern
  17. 34:07Screenplay improvements
  18. 34:49How to start using patterns
  19. 39:47When not to use patterns
  20. 41:10Summary and Q&A
~/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.