Health Care Embeddable Widget - A Flashy ASP.NET Web App

Date: Sep 27, 2010

The tool is designed to illustrate the potential impact of President Obama's health care bill. I created this tool using ASP.NET and JQuery for the AJAX functionality. The design along with the HTML/CSS was done by Viget Labs. Doesn't it look like a Flash application? After inspecting the markup you still would not guess this is a ASP.NET app. You see no ugly viewstate in the markup and no emcompassing form tag.

I admittedly rarely practice test driven development, but for this project I actually wrote tests first and code second like you are "supposed" to do. At the risk of being a blasphemer, I think unit testing and test driven development is overrated for many Web applications. But for the nature of this project, unit tests made sense. You have defined defined inputs, complex calculations, and defined outputs. I had about 100 tests covering a cross section of possible inputs. It worked very well in that the interns testing the application could not find any errors. In a few instances, tweaks to the calculations caused the tests to be invalid; thus, several tests needed to be updated as well as the actual code. It must be hard for real TDD practitioners to deal with changing loads of test code when requirements change ever so slightly.