Skip navigation.

Archives

Avoid mega unit tests

We've just had a posting to the jMock user list that included the following:

I was involved in a project recently where JMock was used quite heavily. Looking back, here's what I found:
  1. The unit tests where at times unreadable (no idea what they were doing).
  2. Some tests classes would reach 500 lines in addition to inheriting anabstract class which also would have up to 500 lines.
  3. Refactoring would lead to massive changes in test code.

I've seen this failure mode on another project I've been helping with, so I think there might be a common pattern.

Programming retreats to its niche

Eugene Wallingford wrote a depressing post two months ago. (Note: to find the article, you’ll have to scroll down.)I occasionally write about how students these days don’t want to program. Not only don’t they want to do it for a living, they don’t even want to learn how. I have seen this manifested in a [...]

What Counts? Redux

In my December 2007 Test Connections column in Better Software, I discussed the problem of counting bugs, test cases, and other things that are mind-stuff, rather than physically constructed objects. I gave a number of examples, but I now have another compelling one.

I got the same Christmas gift—Steven Pinker's The Stuff of Thought—from both my mother and my brother-in-law. (I guess they have me figured out.) In Chapter One, Pinker asks a question about the attack (or is it attacks?) on the World Trade Center in 2001. An airplane hit the North Tower at 8:46am. Seventeen minutes later, another airplane hit the South Tower. Now: was that one event or two?

qaManager v1-0-Beta-6 is available for developers

qaManager is a test management tool featuring project tracking, resource management, test case management and more. v1-0-Beta-6 source has been released and is available to download. This release contains all qaManager and OpenXava specific resource.