[Nitro] Nitro/Og spec jump-start
Mark Van De Vyver
mvyver at gmail.com
Wed Sep 12 16:50:44 EDT 2007
Steve Ross has kindly updated his spec_todo script to rspec_todo.rb -
see below. He asks to be informed of any Nitro/Og special cases.....
Not pure BDDD, but saves a few keys strokes and gives a target to
shoot at (and the only prepare script I'm aware of)
FYI, 'not yet implemented' specs aren't parsed in the current
test-helper scripts so you'll see red '0 failed' summary.
---------- Forwarded message ----------
From: s.ross <cwdinfo at gmail.com>
Date: Sep 13, 2007 4:03 AM
To: mvyver at gmail.com
I made an svn project (haven't changed my blog post yet), but you can
check this out at:
Note that the name has changed from spec_todo.rb to rspec_todo.rb. I
also incorporated your suggestion to omit the block for the "it". I
will be changing "describe" to recognize controllers, but this won't
help Nitro/Og. If there are any special cases for those, I'd love to
hear about them.
The code still has the old do/end for the "it" block, but commented
out (I know, sloppy, sloppy).
If you have other suggestions that might make this tool more useful,
please let me know.
Thanks for your interest.
On Sep 11, 2007, at 11:31 PM, Mark Van De Vyver wrote:
> Hi Steve,
> On 9/12/07, s.ross <cwdinfo at gmail.com> wrote:
>> The script was created a while ago and rspec has changed a bit. If
>> you find any problem, let me know.
> Seems to run 90% OK.
> I pointed at the Postgresql adapter file in the Nitro/Og project:
> - seems to only parse one parameter.
> If you do revise, I think for the 'it' to be recognized as - Not Yet
> Implemented - the do/end block is omitted. There is a new pending()
> method that is recognized.
> Anyway, looks great and is a fantastic jump start/target to shoot at.
>> On Sep 11, 2007, at 8:58 PM, mvyver at gmail.com wrote:
>>> The following person signed the Calico Web Development contact form:
>>> Mark Van De Vyver
>>> The submitted information is:
>>> name: Mark Van De Vyver
>>> email: mvyver at gmail.com
>>> site_type: other
>>> timeframe: just kicking tires
>>> Thnaks for the interesting blog pages!
>>> I'm writing to request a copy of the spec_todo ruby helper script -
>>> the file link on Steve's "Bootstrapping RSpec Generation" blog page
>>> pointed to a page pointing here...
>>> Thanks in advance
More information about the Nitro-general