The Front-end TDD challenge
summary
Claim: a front end app is developed entirely by TDD without opening the browser, using WebStorm, npm/karma and Web Components. The talk codes a modal component step by step, asserts DOM parts exist, implements open and close methods that toggle the overlay hidden class, refactors, and keeps tests green; the demos show tests passing and the component working. Notes: audience estimates ~10% do TDD and the repository and slides are provided.
AI-written summary · about
chapters (6)
- 0:00Start
- 23:04Test Drive Quiz
- 23:42Scoreboard
- 23:54Code that goes to production without tests is considered to be
- 24:28What are the benefits of testing code? (select all the applies)
- 25:01What type of testing is not part of TDD?
related talks
33mTDCD: Test Driven Component Development
17mThe pragmatic front-end tester
01h 00mFront end First — surviving with testing in JavaScript
33mTDD w aplikacjach webowych
42mTest-Driven Development in Javascript
32mDOM Testing: Test Your Frontend Apps More Easily and Effectively
30mTesting Front-End Applications
51mToDo: Test Driven Development and Accessibility
