This is a Gem that displays the test execution status displayed on the terminal like Pac-Man in RSpec tests.
It supports Ruby or Rails apps.
Write the following in the test group of the Gemfile
gem 'rspec_pacman'
Or, you can put them in the test group individually.
gem 'rspec_pacman', group: :test
Then execute the following command
bundle installFor Ruby apps, add the following to spec_helper.rb
require "rspec_pacman" # add
RSpec.configure do |config|
config.formatter = RspecPacman::PacmanFormatter # add
endFor a Rails app, add the following to rails_helper.rb
Some descriptions are omitted.
require "rspec_pacman" # add
RSpec.configure do |config|
config.formatter = RspecPacman::PacmanFormatter # add
endIf you are using another formatter, try writing the following It may display well.
RSpec.configure do |config|
config.formatters.clear # add
config.formatter = RspecPacman::PacmanFormatter
endAfter configuration is complete, run Rspec.
bundle exec rspecIt is assumed to be displayed as follows
The results of the test will be displayed as follows
This Gem is provided under the MIT License.

