From: James Gray Date: 2008-08-12T12:11:43+09:00 Subject: Re: [Q] statemachine gem and unit testing On Aug 11, 2008, at 9:37 PM, Chuck Remes wrote: > I've been using the statemachine gem [1] to build out some finite > state machines for some work I am doing. This is an absolutely excellent point you have raised about a very real problem. I totally confess that I'm just throwing out an idea here, so feel free to ignore this if it's unhelpful. You did say the statemachine is for some work. I'm wondering if it would be possible to test that outer layer, the real work. The statemachine is just an implementation detail anyway, right? I mean, maybe it would be hard, but you could probably replace it with a different strategy. As long as the work still got done, of course. Can you test that? Good luck with your problem? James Edward Gray II