Fun With Fluent Testing
summary
Argues that using the fluent pattern (page objects that method chaining into each other) yields one-line readable tests, reduces brittle find/click/sendKeys churn, and makes refactors cheap; shows Java/C#/Python examples, a generics-based base page that lets identical methods return different page types, and using dictionaries as a simple DSL for test data. Integrates Allure substeps and screenshots automatically, supports working across five simultaneous projects, and reports code and examples are published to GitHub.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:23Who Am I
- 1:08Background of How I Got to Fluent Testing
- 1:25Selenium Commands
- 9:36Method Chaining
- 11:24Login Page
- 19:30Generics
related talks
43mBetter Bullshit-Driven Development
49mAn Easy Way to Automate Complex UI
48mTesting Should Be Fun
40mPage Objects: Keep It Simple and Better!
37mClean Test Code
44mTesting the untestable - patterns and use cases analysis
39mBeyond Page Objects
21mWriting Declarative, Maintainable Integration Tests Using Page Objects
