From: Troy Denkinger Date: 2006-03-10T14:34:37+09:00 Subject: Re: Test Harness? ------=_Part_6926_9434393.1141968860679 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks to everyone for the ideas on this. I've implemented the rake suggestion, and it mostly does what I'm looking for. Thanks, Troy On 3/9/06, Jim Weirich wrote: > > Daniel Nugent wrote: > > Is there a way to pass Rake tasks arguments? > > > > I'd like to do something where I break my unit tests up into test > > suites by just dropping them into folders and then being able to > > invoke a Rake task like rake suite "sweet" or rake suite > > "sweet/saccharine", if I wanted a test suite inside of a test suite. > > > > Or, alternatively, I'd like to be able to invoke test cases named > > "sucrose" by rake test_case "sucrose" > > > > Disclaimer: I've read Rake tutorials several times in the past but > > have yet to arse myself to start using it (which I should, because I > > think I'm starting to exert more effor than is worthwhile keeping > > tests organzied without rake), so I might've forgotten the part where > > it says you can do exactly what I'm asking. > > This page: http://rake.rubyforge.org/classes/Rake/TestTask.html pretty > well describes how the built-in test task takes arguments. > > -- > -- Jim Weirich > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_6926_9434393.1141968860679--