Upgrading major Rails versions by just using your 92% test coverage

Actual reasons to test

Upgrading from Rails 4.x to 5.x by just using rspec

The take aways

  • Be the first user of your API: you spot usability problems early on,
  • Ensure your code works: critical if you care about your business,
  • Easy maintenance: just fire up your test suite and you ensure any behaviour did not change.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store