Unit Testing JSF With shale-test.jar

JSF is not at all easy to test, and really wasn’t designed to be, but so far the mock objects library included with Shale appears to be working for us. I paired with one of my developers for 3 hours to get 3 unit tests written that needed a FacesContext to allow for unit testing. [...]

Adopting TDD and Tons of New Technologies

It would appear based on my limited experience that presented with lots of new tools, technologies and frameworks to learn versus a new development practice like TDD the new technology wins hands-down. I think I knew instinctively that pushing new technologies and TDD at the same time would be hard, but our marching orders are [...]

Gaps Between Sprints In Scrum

Apparently we’ve been running Type A Scrum as defined by Jeff Sutherland in a paper from Agile 2005. He’s divided Scrum into 3 types:

Type A Scrum – Everything is done in the Sprint, but there is downtime of a week or two between each Sprint. Type B Scrum – You start to overlap [...]

Spaghetti OOs Code

Had an interesting discussion with my brother this morning. He happens to be yet another software developer in the family. Out of five brothers four of us ended up in programming. Probably related to our Dad’s early experiments with kit computers like our first Interact in 1979.

Anyway he sees the world a little [...]

Mock Framework for JSF?

I came across a possible mock framework for JSF from the Shale team. Since I’m about to try helping my folks with some JSF projects and getting them to do actual TDD, this may be a big help.

Microsoft Reverses on Misleading TDD Documentation

There’s been quite a stir over some documentation on MSDN about how to do TDD with Visual Studio 2005. Essentially it advocated writing all your tests first for a a particular class and then starting to implement the tests and get them to pass one by one. Sort of Big Design Up Front with Tests. [...]

RDT for Ruby

I’ve been playing around with Ruby a bit as a break from things. Pulled down a nice Eclipse plug-in today, Ruby Development Tools. Basically covers everything but auto-completion and refactorings. OK, those are pretty big things, but it’s nicer than BBEdit and a Ruby plugin.

I really like the fact that unit testing support is [...]

JSF Adoption Still Difficult

Two of our senior developers vented on JSF to me today. We’ve been using JSF on two projects now for about a month and a half and the experiment hasn’t been going so well despite the marketing hype. One developer explained that he wanted to implement a simple templating solution using Tiles. Turns out you [...]

Spreading the TDD Virus Is Hard

“Oh, if we’re going to hook the project up to cruisecontrol I better write some tests.” –An Unnamed Developer

I’m not sure the fact that I spent a day doing a class on TDD last week has completely sunk in. Tomorrow I hook up cruisecontrol and maybe do some pairing so we can make some [...]

JTest and TDD

I have a developer who got interested in trying out JTest from Parasoft. He talked to a sales rep at a conference and got a 30 day copy or something to try out. It’s a fairly pricey product on its own around 5K per seat if I remember correctly. I’ll be getting a sales quote [...]