Skip to content

Commit

Permalink
#20 simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 5, 2024
1 parent 04930ed commit 2ba0836
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,3 +4,4 @@ Gemfile.lock
.DS_Store
rdoc/
.idea/
coverage/
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -28,3 +28,4 @@ gem 'rake', '13.1.0', require: false
gem 'rdoc', '6.6.2', require: false
gem 'rubocop', '1.61.0', require: false
gem 'rubocop-rspec', '2.27.1', require: false
gem 'simplecov', '0.22.0', require: false
30 changes: 30 additions & 0 deletions test/test__helper.rb
@@ -0,0 +1,30 @@
# frozen_string_literal: true

# (The MIT License)
#
# Copyright (c) 2021-2024 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

$stdout.sync = true

require 'simplecov'
SimpleCov.start

require 'minitest/autorun'

0 comments on commit 2ba0836

Please sign in to comment.