Would be unfortunate if MiniTest isn’t supported in Rails since it appears that many Rails developers use TextMate, and Minitest is the default testing framework.
(Not to take away from RSpec, it is popular. I started with MiniTest and since I’m a Newbie I’m reluctant to add more confusion by changing testing methods.
Am I right in understanding that the Ruby on Rails bundle has the testing baked in and doesn’t use the version installed on the users computer?
More info on the change and background:
Rake commands have been changed to Rails commands. This was done to avoid confusion (no way to tell whether to use rake or rails). https://github.com/rails/rails/issues/18878
Overview of Rails 5 changes: https://www.youtube.com/watch?v=OaDhY_y8WTo
A Guide to Testing Rails Applications — Ruby on Rails Guides http://guides.rubyonrails.org/testing.html
Rails 5 uses `rails` instead of `rake` for everything, including running tests.
I may look into this if I find some time, but unfortunately all Rails projects I?m working on use RSpec instead of Test::Unit, so this is not really a problem for me personally and thus rather low-priority ?
(On a side note: the RSpec bundle works fine with Rails 5 :-)
Stefan
Am 17.03.17 um 09:05 schrieb Koen Punt:
What's the problem with rake?
Koen
On Mar 16 2017, at 11:47 pm, Greg web@web.knobby.ws wrote:
I usually use the command line for testing (I?m more or less a newbie to testing), but thought I?d try staying in TextMate, but see it's still using Rake.
I wish I could help, but I?m already in over my head.
Greg