A test framework for the Ruby language. A tool that can automatically check bugs according to the test code by writing the test code in RSpec and executing the test code in the terminal.
group :development, :test do gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] #↓ ↓ Description to be added this time ↓ ↓ gem 'rspec-rails', '~> 4.0.0' end
% bundle install
% rails generate rspec:install
The following files are created by executing this command.
.rspec spec spec/spec_helper.rb spec/rails_helper.rb