Frameworks

Web Frameworks Evaluation II.iii: Mocking Database Connections in Unit Tests

One of the reasons progress on my web frameworks' evaluation has been so slow of late is that my last check-in broke my CCNET automated build, and, as the good programmer I am, I felt that this needed fixing before I made any more progress.

I'd written some unit tests for the PostController (good) that were accessing the database directly (bad), and for whatever reason the build machine couldn't successfully connect to the database. A classic case of "works on my machine!", and, as is usually the case with such things, a good example of poor design.

An Evaluation of Web Frameworks I: Introduction

Following on from a recent comment discussion, I'm taking on a small project to evaluate a number of the major web development frameworks currently available. I've settled on a very simple blogging system as my sample project, with a common MySQL backend. In this first post of the series, I set out the terms of reference for the evaluation, including the (very basic) requirements for the sample application.

Subscribe to RSS - Frameworks