simplecov-ruby / simplecov

Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError on Ruby 3.1.0

ahasunos opened this issue · comments

When running SimpleCov 0.21.2 on Ruby 3.1.0 it gives an error as below:

Coverage report generated for pwd to /coverage. 0 / 0 LOC (100.0%) covered.
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/Users/currentuser/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start': coverage measurement is already setup (RuntimeError)
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected

The error that caused the problem was not related to SimpleCov. It was probably in the output that was above this in your terminal.

This issue should be closed.