RailsConf 2015 - Ruby on Rails on Minitest

preview_player
Показать описание
By, Ryan Davis
The rails "official stack" tests with minitest. Each revision of rails peels back the testing onion and encourages better testing practices. Rails 4.0 switched to minitest 4, Rails 4.1 switched to minitest 5, and Rails 4.2 switched to randomizing the test run order. I'll explain what has happened, explain the motivation behind the changes, and how to diagnose and solve problems you may have as you upgrade. Whether you use minitest already, are considering switching, or just use rspec and are curious what's different, this talk will have something for you.

Help us caption & translate this video!

Рекомендации по теме
Комментарии
Автор

Thank you Rayn, I am noob, and I found it simple to understand and use which reflect that you are a very capable as a programmer. I love simplicity.

siros
Автор

Hi Ryan,

Regarding RSpec being "magic". I assume you feel the same way about ActiveRecord and any gem that integrates an API into an app.

Just because you don't know how it works doesn't mean it's "magic." Look under the hood, and oh -- it's actually not magic. How totally surprising.

squirecd