Re: [rspec-users] testing scripts

2007-11-13 Thread barsalou
Ashley said: Message: 7 Date: Tue, 13 Nov 2007 20:43:53 + From: Ashley Moran <[EMAIL PROTECTED]> Subject: Re: [rspec-users] testing scripts To: rspec-users Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes On Nov 13, 2007

Re: [rspec-users] testing scripts

2007-11-13 Thread Ashley Moran
On Nov 13, 2007, at 7:45 pm, barsalou wrote: > What I'm doing now is wrapping the methods in a module, then including > the module at the top of the script. Can you post some examples of the modules, classes and methods you have? Every script I've written is basically just a little object-orien

[rspec-users] testing scripts

2007-11-13 Thread barsalou
So in the past I've written a script that query's a remote DB, takes the data, validates it, then does some processing, producing a new file with the data in a completely different format. Since this is a script with it's own set of methods, etc, how do I go about testing the pieces parts? It