[rspec-devel] merging rbehave into rspec

Dan North dan at tastapod.com
Fri Aug 3 07:43:49 EDT 2007


Hi folks.

Thought I'd post a quick update due to the level of interest. Thanks for 
all the offers of help. It's very encouraging!

So, to start with, I'm moving the rbehave codebase (as of 0.3.0) into 
rspec into a new module called Spec::Story. The code will largely be 
unchanged apart from repackaging (renaming modules and a few files) and 
migrating my mocha mocks to use rspec's internal mocking framework.

So far, I've got the code and the behaviours in there but the pre_commit 
behaviours are failing all over the place with what looks like a clash 
of mocking frameworks. (It looks like rspec doesn't like to mix mocking 
frameworks in the same run, which makes sense.) I don't want to commit a 
broken build, although I hadn't actually thought of doing this 
integration work on a branch. (I guess I thought it would be a pretty 
trivial exercise.)

If I'm still struggling in a few days, I'll probably commit to a branch, 
but in the meantime I would like to use this list to ask dumb questions 
- mostly about the rspec build :)

/(First dumb question: how do I only run the behaviours for a particular 
file or set of files using rake?)
/
As soon as I have a working build - and David gives me the go-ahead - 
I'll check in and then we can scope out the work to get proper 
story-level Rails integration.

Thanks again for the support,
Dan


Scott Taylor wrote:
> On Aug 2, 2007, at 11:00 PM, David Chelimsky wrote:
>
>   
>> On 8/2/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>>     
>>> There seems to be quite a few of us who want to help.  What is the
>>> state of this project?  Is this being worked on in the Rbehave
>>> repos?  Maybe the RSpec admins could create a branch in the rspec
>>> repos to facilitate this merging.
>>>       
>> Thanks to all for your interest. I need to talk to Aslak and Dan about
>> how we're going to do this, so please hang tight.
>>     
>
> Thanks David.  I guess I'm still a little unsure whether the whole  
> code base will be merged in to RSpec, or whether it will stay  
> separate but the World modules will get mixed into RSpec somehow or  
> another.
>
> I guess we will wait a few days to hear the news.
>
> Best,
>
> Scott
>
>   
>> Cheers,
>> David
>> _______________________________________________
>> rspec-devel mailing list
>> rspec-devel at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-devel
>>     
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-devel/attachments/20070803/b2d67fc7/attachment.html 


More information about the rspec-devel mailing list