Since the first version of Rails, testing has been a fully integrated part of the framework. Over the years, the underlying libraries have been improved and the growing experience of Rails developers has meant that the recommended style of testing has been refined.
When Rails was first released, it made use of the Ruby Test::Unit library that was part of the standard Ruby libraries. Over time, many Rails developers moved to a new Behavior Driven Development test framework, RSpec. However, with the release of version 4, Rails moved to MiniTest, a very fast and lightweight testing library. Many Rails developers have since switched ...