From: Mark Wilson Date: 2003-05-16T08:48:09+09:00 Subject: Re: Test::Unit sequencing On Thursday, May 15, 2003, at 04:51 PM, Anders Bengtsson wrote: > ahoward wrote: >>> "The first rule of unit testing is, don't let tests depend on each >>> other. >>> The second rule of unit testing is, don't let tests depend on each >>> other." >>> ;-) >> >> i know this creed, but it seems not to apply where databases are >> concerned... > > It applies particulary in the case of databases. :) Writing simple unit > tests requires that you decouple your logic from your database code, > which is usually considered a good thing. I don't think I agree with the statement that decoupling logic from database code is a good thing. I'm a little uncertain on my views as to the statement because I don't understand what it means to decouple logic from database code, and I am not sure I understand what Mr. Bengtsson means by "database code".