diff --git a/Gemfile b/Gemfile index 1550ccd..c62109d 100644 --- a/Gemfile +++ b/Gemfile @@ -16,4 +16,5 @@ end group :test do gem 'capybara' gem 'minitest' + gem 'minitest-reporters' end diff --git a/Gemfile.lock b/Gemfile.lock index 24fea4d..81486fb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,11 @@ GEM - remote: https://rubygems.org/ + remote: https://gem.coop/ specs: addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) + ansi (1.5.0) ast (2.4.3) + builder (3.3.0) capybara (3.40.0) addressable matrix @@ -17,7 +19,7 @@ GEM ffi (1.17.2-arm64-darwin) ffi (1.17.2-x86_64-darwin) ffi (1.17.2-x86_64-linux-gnu) - json (2.13.2) + json (2.15.1) language_server-protocol (3.17.0.5) lint_roller (1.1.0) listen (3.9.0) @@ -25,24 +27,29 @@ GEM rb-inotify (~> 0.9, >= 0.9.10) matrix (0.4.3) mini_mime (1.1.5) - minitest (5.25.5) + minitest (5.26.0) + minitest-reporters (1.7.1) + ansi + builder + minitest (>= 5.0) + ruby-progressbar nio4r (2.7.4) - nokogiri (1.18.9-arm64-darwin) + nokogiri (1.18.10-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.9-x86_64-darwin) + nokogiri (1.18.10-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.9-x86_64-linux-gnu) + nokogiri (1.18.10-x86_64-linux-gnu) racc (~> 1.4) parallel (1.27.0) parser (3.3.9.0) ast (~> 2.4.1) racc - prism (1.4.0) + prism (1.5.2) public_suffix (6.0.2) - puma (6.6.1) + puma (7.0.4) nio4r (~> 2.0) racc (1.8.1) - rack (3.2.0) + rack (3.2.3) rack-test (2.2.0) rack (>= 1.3) rainbow (3.1.1) @@ -50,12 +57,12 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - regexp_parser (2.11.2) + regexp_parser (2.11.3) rerun (0.14.0) listen (~> 3.0) - roda (3.95.0) + roda (3.96.0) rack - rubocop (1.80.1) + rubocop (1.81.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -63,16 +70,16 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.46.0, < 2.0) + rubocop-ast (>= 1.47.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.46.0) + rubocop-ast (1.47.1) parser (>= 3.3.7.2) prism (~> 1.4) ruby-progressbar (1.13.0) - unicode-display_width (3.1.5) - unicode-emoji (~> 4.0, >= 4.0.4) - unicode-emoji (4.0.4) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.1.0) xpath (3.2.0) nokogiri (~> 1.8) @@ -84,6 +91,7 @@ PLATFORMS DEPENDENCIES capybara minitest + minitest-reporters puma rake rerun diff --git a/app_test.rb b/app_test.rb index 23db382..5ff1882 100644 --- a/app_test.rb +++ b/app_test.rb @@ -5,6 +5,10 @@ require 'capybara/minitest' require_relative 'app' +# make test report prettier +require 'minitest/reporters' +Minitest::Reporters.use! + Capybara.app = App # Run tests for my simple Roda app.