File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
- SimpleCov . start :rails do
1
+ # frozen_string_literal: true
2
+
3
+ require "simplecov-tailwindcss"
4
+
5
+ SimpleCov . formatter = SimpleCov ::Formatter ::TailwindFormatter
6
+
7
+ SimpleCov . profiles . define :joyofrails do
8
+ load_profile "test_frameworks"
9
+
2
10
add_group "Controllers" , "app/controllers"
3
11
add_group "Content" , "app/content"
4
12
add_group "Helpers" , "app/helpers"
@@ -22,4 +30,8 @@ SimpleCov.start :rails do
22
30
23
31
add_filter %r{^/lib/assets/}
24
32
add_filter %r{^/lib/rails-wasm/}
33
+
34
+ track_files "{app,lib}/**/*.rb"
25
35
end
36
+
37
+ SimpleCov . start :joyofrails
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ group :test do
58
58
gem "selenium-webdriver" # Ruby bindings for Selenium [https://www.rubydoc.info/gems/selenium-webdriver/frames]
59
59
gem "cuprite" , git : "https://github.com/rubycdp/cuprite"
60
60
gem "simplecov" , require : false # Code coverage for Ruby [https://github.com/simplecov-ruby/simplecov]
61
+ gem "simplecov-tailwindcss" , require : false
61
62
gem "webmock" , require : false # Library for stubbing HTTP requests [https://github.com/bblimke/webmock]
62
63
end
63
64
Original file line number Diff line number Diff line change 438
438
simplecov-html (~> 0.11 )
439
439
simplecov_json_formatter (~> 0.1 )
440
440
simplecov-html (0.12.3 )
441
+ simplecov-tailwindcss (2.2.0 )
442
+ simplecov (~> 0.16 )
441
443
simplecov_json_formatter (0.1.4 )
442
444
sitepress-core (4.0.2 )
443
445
mime-types (>= 2.99 )
@@ -572,6 +574,7 @@ DEPENDENCIES
572
574
ruby_wasm (~> 2.5 )
573
575
selenium-webdriver
574
576
simplecov
577
+ simplecov-tailwindcss
575
578
sitepress-rails
576
579
solid_cache
577
580
solid_queue
You can’t perform that action at this time.
0 commit comments