Today I taught my very first class, which was the first in a series of training sessions I plan on presenting at my workplace on fitnesse. Fitnesse (and acceptance testing) is a very interesting topic to discuss on my team, as unfortunately the team was mandated to use it without being given any genuine, formal [...]
Archive for August, 2006
Getting Your Custom JUnit TestCase Ignored by Eclipse
One issue I’ve struggled with lately is a small problem in eclipse caused by a custom TestCase class I created that extends TestCase that has special assertions. When I right click on my unit test page and run as junit test to run all my unit tests, I always get red bar and it complains [...]
Dell Finally Recalls My Inspiron “Crap-Top”
For about 8 months now, I have had so many problems with my Dell Inspiron 1100 it wasn’t funny. Sometimes it got very very slow, it was always scorching hot, and occasionally it shut itself off from overheating if left unattended. It’s also been a piece of crap … in the year and half I [...]
Are Too Many Mocks A Code Smell?
Recently I have been involved in an excellent discussion the testdrivendevelopment yahoo mailing list regarding a concearn I had over whether using expectations with mock objects cause you to violate encapsulation, and received very many good replies, and during the thread one of the authors of RMock stated that : I think when using mocks, [...]
AssertThat() and Other RMock Goodies
This week we’ve been using RMock quite a bit to try and do “true” unit tests, which I have been trying to follow the 5 rules of a unit test that Michael Feathers describes: A test is not a unit test if: 1. It talks to the database 2. It communicates across the network 3. [...]
Partial Mocks (or Stubs) With RMock
Recently I wanted to be able to do something I had done for quite awhile using Simpletest in PHP … create partial mocks that mock out just a specified method on an object and replace it with canned data (a stub). So far I hadn’t found something to let me do this in the java [...]
Customer Communication
Martin Fowler recently made an interesting post on his Bliki titled Customer Addinitiy in which he discusses the importance of a developer being able to communicate effeciently with their customer, and I couldn’t agree more. To me, on a scale of 1 to 10, customer communication ranks a strong 10, while actual technical skill ranks [...]

