Unit testing with RSpec
RSpec is one of the unit testing tools for the Ruby language. It enables test-driven development (TDD) in Ruby on Rails business applications. It has a rich command-line interface and a simple syntax close to written language. RSpec can simulate the behaviour of third-party services (Google APIs, indexing engines, etc.) so that the tests focus solely on the web application.
Built into a Ruby on Rails application, it makes it possible to test separately the business logic (data management rules), the control logic (how data interacts with the user interface) and the presentation logic (how data is rendered to the end user).
In the complex development of an application that runs a company’s operations, RSpec provides a safety net that guarantees developed features do not regress.
Find out more about RSpec
Official website: rspec.info