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

Shane Duan shane.duan at gmail.com
Wed Jan 10 14:26:21 EST 2007

The history from the Java world has shown that there will never be one
standard.  People choose different naming for different preferences.
I even have 'tc_' prefix in the project because I never bothered the
trouble after I converted them from ruby unit.

On 1/10/07, Pat Maddox <pergesu at gmail.com> wrote:
> On 1/10/07, Rob Muhlestein <rob at muhlestein.net> 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 like foo_spec.rb
> Pat
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list