Re:Ask HN: What are some books where the reader learns by bu...
by aomega08 on Thursday February 16, 2017 @12:59PM
(#13662044)
I love that book and recommend it to anyone. The only thing I don't really like is its focus on MiniTest when practically everyone in the Ruby ecosystem has moved to RSpec.
If I had to find a reason for this choice I'd say, one less gem to install and configure, and again convention over configuration.
[ Parent
| on HN ]
Re:Ask HN: What are some books where the reader learns by bu...
by bdcravens on Thursday February 16, 2017 @02:02PM
(#13662553)
I think MiniTest is a good starting point even if you end up going with Rspec, as MiniTest/jUnit style testing feels a little bit lower level. In the same sense, the book implements authentication from scratch, whereas many apps will end up using a library like Devise.
Re:Ask HN: What are some books where the reader learns by bu...
by mathgeek on Thursday February 16, 2017 @03:38PM
(#13663367)
> I don't really like is its focus on MiniTest when practically everyone in the Ruby ecosystem has moved to RSpec
Is this true? I know RSpec is the popular one in open source, but last I checked the two were still pretty even as far as big name recommendations. I used to believe RSpec was the default when I first started Rails development, but as a professional dev I had seen plenty of Minitest implementation.
Re:Ask HN: What are some books where the reader learns by bu...
by RobertKerans on Friday February 17, 2017 @03:21AM
(#13666767)
It's been a while since I went through it, but did the tutorial not originally use RSpec, then switch it out at about version 4 (along with a few other tools) so that everything in the book made use of the most basic, out-of-the-box tools (as much as possible)?