Ruby testing and refactoring goodies!
DevSnack #7: Here are some tips and tools to help you improve readability, maintainability and reliability of your Ruby code and test suite. Enjoy our tips on Ruby testing.
Feature testing is a key part of any testing suite, in this article Luke Morton (@LukeMorton) talks about his experience creating feature tests and shares some tips he found useful.
Some of the advantages of RSpec Shared Context are code readability and code reuse, but something that gets overlooked is that they can help in keeping things consistent! Read the article from Charlie Tanksley (@charlietanksley) to find out more.
Andrzej Krzywda (@andrzejkrzywda) strikes again with some useful tips on how to clean up those messy Rails controllers.
In this article by Ben Lewis (@fluxusfrequency), you will find some less known Ruby methods that can help us improve our code.
DevSnack by Moove-it is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.