My definition of legacy code comes from an interesting interview Michael Feathers gave at dZone. He defines legacy code as “code without tests”. And I bet, there is a lot of that stuff out there. But what if you decided to develop test-driven in the meantime? Should you leave the legacy code as it is? If you still want to use it, the answer is of course NO. But how could you make this good old big ball of mud better maintainable? Continue reading “Migrating legacy code to maintainable code with tests” »
Mit ‘testing’ getaggte Artikel
Migrating legacy code to maintainable code with tests
Mittwoch, 14. Juli 2010Behaviour-Driven Development (BDD) with Google Web Toolkit (GWT)
Sonntag, 22. November 2009Here at crealytics, we are developing a very interesting Rich Internet Application (RIA) using the Google Web Toolkit (GWT) with a REpresentational State Transfer (REST) Server. We use Behaviour-Driven Development (BDD) for outside-in development driven by business value. BDD for web apps is usually a good fit, as several testing tools support Javascript. As we do not have a specialist for GUI design yet, we have decided to use a Model-View-Presenter (MVP) pattern and start testing at the presenter level (outside) down to the server (in). This combination proves to be harder than expected as most Javascript testing tools work on the UI level by clicking on links, filling forms etc.
Continue reading “Behaviour-Driven Development (BDD) with Google Web Toolkit (GWT)” »
