From: Stefan Rusterholz Date: 2007-09-05T18:13:36+09:00 Subject: Re: Embedded vs. Non-embedded Tests Peter Cooper wrote: > And if you get onto, say, Formula 1 cars.. some "repairs" can even take > place on the road and the telemetry provides almost as much info to the > engineers while the car is running out on the track as they can get in > the > garage. I've always wondered if/how to make software as easy to diagnose > with real-time telemetry and the ability to make changes to a running > program's parameters.. Take a look at Eiffels Design By Contract. I'm a huge fan of it. Allows you to move most testing code into the contract, the unit tests are then merely running your code with contracts enabled. For an idea on how that works, take a look at the movies with "Design by Contract" in the title here: http://eiffel.com/developers/presentations/ Would be a very nice feature if ruby had that, even though I'd introduce additional syntax and I've no idea how to integrate it nicely. Regards Stefan -- Posted via http://www.ruby-forum.com/.