Rails 6 Errors: The Good, The Bad, The Ugly — An exploration of what’s awesome, what’s not so great, and what’s downright confusing when it comes to debugging errors on a Rails 6 app. (By the way, if you’re wondering about the progress of Rails 6, 6.0.0 RC1 is still the latest version out.)
Avdi Grimm
|
How to Test Ruby Methods That Involve puts or gets — The RSpec-oriented answer in this case is to use test doubles. Another technique I use myself is to use puts and gets directly upon an object (e.g. STDIN and STDOUT ) you can switch out.
Jason Swett
|
How to TDD When TDD Is Hard — You don’t know what you’re doing, you don’t know where to start, it’s all just another thing getting in the way of your work..? If you’re frustrated with test driven development, Aaron has some advice.
Aaron Sumner
|
|