Ruby on Rails Friday, November 21, 2014



On Thursday, 20 November 2014 14:13:55 UTC-5, Roelof Wobben wrote:
Hello,

I try again to learn ruby and Im following now "Agile Web development in Rails 4"

I see that the author uses minitest to test models.

Is there any reason to use minitest  instead of Rspec to test models and controllers.


Both tools will do the job, but my guess is that minitest was selected for this because it is simpler to explain to new developers. In other words, the expressive DSL that makes rspec nice to use after you know what's going on can also be confusing to people who've never encountered it before.

--Matt Jones

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/6bb57d78-1722-42eb-a32d-1fec09fc5489%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment