[rspec-users] foo_spec.rb -> foo.rspec (proposed RSpec file name convention)

Bryan Liles bryan at osesm.com
Wed Jan 10 14:18:58 EST 2007


On Jan 10, 2007, at 1:31 PM, Rob Muhlestein wrote:

> Is it too late to suggest some filename conventions for example rspec
> files--especially when bundling with gems?
>
> I see spec_foo.rb and foo_spec.rb around. Also found some foo_ex.rb
> around. Would having a foo.rspec be worth talking about? Or is the
> convention more or less to have 'spec' in the file name?
>

I would vote against this (even if my vote even mattered).  I like to
think of my rspecs of ruby that actually verifies my code is doing
what I think it is doing.




More information about the rspec-users mailing list