Property Based Testing for the Browser with Bombadil
summary
Open-source Bombadil runs property-based tests written in TypeScript/JavaScript against a real browser tests session, generating weighted random actions, capturing every DOM/console state and saving reproducible step logs (ran successfully against the conference agenda site). It detects violations like negative cart totals, lingering notifications and uncaught JS exceptions via extractors and actions, shows failures in Bombadil inspect, and promises shrinking to minimize repro steps; current limits: poor docs, no login handling, limited Windows binary.
AI-written summary · about
chapters (10)
- 0:00Bombadil and property testing intro
- 3:39Why traditional testing fails
- 7:47What is property-based testing
- 9:11Shopping cart example
- 11:38Live demo of Bombadil
- 16:20Installing Bombadil
- 19:51Extractors and actions in specs
- 21:38Adding Bombadil tests
- 23:26Bombadil roadmap and limits
- 25:54Q&A
related talks
51mProperty-Based Testing
30mProperty Based Testing: From Theory to Practice
30mProperty-based Testing for Godly Tests
58mProperty Based Testing: Concepts and Examples
43mBrowser Testing using Grammars and a Consensus Oracle
46mProperty-based testing:You won't look at your tests the same way ever again
45mProperty based tests for the masses
47mProperty-Based Testing
