title: How do I do test-driven development using Vaadin?
body: <p>What's the best way to structure a Vaadin-based application so that I can use TDD (test-driven development) to create the application? In other words, I don't want to write tests that require a server or browser (or even simulators of those) as those might be too brittle, too slow, or both.</p>
  
  <p>The question <a href="https://stackoverflow.com/questions/3696161/translating-gwt-mvp-pattern-to-vaadin">Translating GWT MVP Pattern to Vaadin</a> is somewhat related in that I'm looking for the correct pattern to use to make my UI "logic" as testable as possible, but I'm not sure that MVP translates to the world of Vaadin.</p>