Displaying 1 result from an estimated 1 matches for "spec_todo".
2007 Sep 16
12
rspec_todo -- spec''ing backwards
...ublic method.
While it is more sensible to spec behavior of code function than of
individual methods, this tool can help jump start a transition to
that wonderful place. Comments welcome (and please be kind about the
code -- I know it needs refactoring :).
svn:
http://svn.calicowebdev.com/rspec_todo/trunk
Excerpt from the readme:
Usage is:
ruby spec_todo.rb <options> <files>
Options are:
-m -- Wrap each file''s spec in a module
-u -- Use "it" with a block and a pending method rather than a "it"
So, for example, I might use it as follows:...