From: "Mauricio Fernández" Date: 2003-05-15T17:29:35+09:00 Subject: Re: Test::Unit sequencing On Thu, May 15, 2003 at 05:25:45PM +0900, Brian Candler wrote: > A question for more experienced Test::Unit users. > > I want to do a fairly complex sequence of tests which carries state between > them: e.g. create a blank database, call some methods which should create > some entries, then test they are there, call some other methods which should > find and update those entries, test they have been changed, and so on. > > I can use 'setup' to create the empty environment, but how do I make sure > all the other tests are performed in the right sequence? Should I just write > this all as one big test method? This thread should interest you: [ruby-talk:62836] -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com 'Mounten' wird f�r drei Dinge benutzt: 'Aufsitzen' auf Pferde, 'einklinken' von Festplatten in Dateisysteme, und, nun, 'besteigen' beim Sex. -- Christa Keil