Narrative-Driven Development: BDD + TDD + Living Documentation in One Workflow
The best documentation is always up to date. The best way to keep docs up to date is to make them executable.
I've spent six months building Test2Doc—turning Playwright tests into documentation—and writing a tutorial that puts it into practice. Here are the patterns I discovered for writing tests that read like user guides.
