[rspec-devel] Running specs with TextMate bundle

Luke Redpath luke at agileevolved.com
Tue Nov 7 06:21:38 EST 2006


I've just committed a large refactoring of the bundle commands into a  
reasonably specced Ruby module in the bundle Support folder  
(spec_mate.rb), and extracted the commands into some command objects  
too. Does this work for you? If not, are the error messages any more  
useful?

Cheers
Luke

> I see that the three commands have a fair amount of duplication, and
> that they don't have any specs ;-)
>
> Would it be possible to extract the ruby code into a separate file,
> get rid of the duplication and have some specs for it? (The specs
> could set the TM env vars and run the code). This would hopefully
> flesh out better error messages from the bundle itself (in the case
> where certain env vars are missing).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20061107/90ab3bcf/attachment-0001.html 


More information about the rspec-devel mailing list