This is similar to rspec structure which I really like. I believe your proposal 
being less generic and better fitted to the rails use case is a very nice one. 

One question though, where do routing tests go?
On Sep 29, 2012, at 11:59 PM, Godfrey Chan wrote:

> +0.5 :)
> 
> I'm using minitest-rails on my newer projects and I liked the structure you 
> picked. It makes it easy to add tests for things like serializers 
> (test/serializers), commands, etc. I think this would be a more reasonable 
> choice of naming for new projects. I just don't know how this is going to 
> impact existing projects and the rest of the ecosystem.
> 
> Godfrey
> 
> Sent from my phone
> 
> On 2012-09-29, at 10:32 AM, Mike Moore <[email protected]> wrote:
> 
>> What do folks think about making changes to the default test locations? I 
>> would love to see the following changes made:
>> 
>> test/units          -> test/models
>> test/units/helpers  -> test/helpers
>> test/units/lib      -> test/lib
>> test/functional     -> test/controllers
>> test/functional     -> test/mailers
>> test/integration    -> test/acceptance
>> 
>> I've already done this in minitest-rails for Rails 3, but I thought I'd 
>> check here before creating a pull request for Rails 4.
>> 
>> Here is a blog I blogged on my blog explaining more about why I think this 
>> change is good.
>> 
>> http://blowmage.com/2012/07/12/rails-tests-placement
>> 
>> Thoughts?
>> 
>> ~Mike
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Ruby on Rails: Core" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/rubyonrails-core?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.

Cumprimentos,
Luís Ferreira



-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to