Understanding Test Driven Development with Javascript
summary
Builds a working boolean verifier for a password-kata called password verifier kata by writing failing tests then making them pass and refactoring, using Jest and Wallaby and simple CommonJS module.exports calls inside IntelliJ. Starts with zero-rule and single-rule behavior, adds multi-rule aggregation, and shows red‑green‑refactor cycles, ping‑pong pairing, and incremental commits. Claims incremental TDD yields smaller, safer steps and cites a study that about 60% of code never gets used as motivation.
AI-written summary · about
chapters (17)
- 0:00Intro
- 7:20Incremental refactoring
- 14:00Writing a test
- 16:23Scenarios
- 19:18Inputs
- 21:00Test Design
- 22:24Running a Test
- 24:55Passing a Test
- 27:30Adding Tests
- 30:52Refactoring Tests
- 34:37Test Fail First
- 35:18Psychological Issues
- 35:45Simpler Solutions
- 36:33Refactoring
- 37:09Incremental Work
- 38:12Complexity
- 40:10Green bar
related talks
45mWriting Tests That Don't Suck: TDD in JavaScript
42mTest-Driven Development in Javascript
34mReinforce yourself: a tale of dog training and test-driven development
30mATDD with CodeceptJS: Effective Testing Without Pain
12mTesting: What's it all about?
45mTDD makes you a better everyday developer
01h 54mPair Programming & Test Driven Development done right
43mAngular TDD Like You Never Seen Before
