ViewComponent was designed with the intention that all components should be unit tested. In the GitHub codebase, ViewComponent unit tests are over 100x faster than similar controller tests...
A framework for building reusable, testable encapsulated view components in Ruby on Rails.