Skip to content

codeclimate-test-reporter (deprecated) shows warnings #597

Open
@nard-tech

Description

@nard-tech

codeclimate-test-reporter (deprecated) shows a warning message.

In addition, other warnings are displayed due to an old version of simplecov (0.12.0), on which codeclimate-test-reporter depends.

I tried to remove these messages, but it seems to be impossible because configuring CircleCI for annotate_models is required.

Commands

$ bundle exec rspec

After tests finished, the following messages is displayed.

Finished in 0.38752 seconds (files took 1.18 seconds to load)
135 examples, 0 failures, 9 pending

.../annotate_models/.gems/gems/simplecov-0.12.0/lib/simplecov/configuration.rb:207: warning: constant ::Fixnum is deprecated
[Coveralls] Outside the CI environment, not sending data.
.../annotate_models/.gems/gems/simplecov-0.12.0/lib/simplecov/source_file.rb:29: warning: constant ::Fixnum is deprecated
.../annotate_models/.gems/gems/simplecov-0.12.0/lib/simplecov/source_file.rb:30: warning: constant ::Fixnum is deprecated
Coverage report generated for RSpec to .../annotate_models/coverage. 8239 / 22117 LOC (37.25%) covered.
Formatter CodeClimate::TestReporter::Formatter failed with NoMethodError: undefined method `map' for #<SimpleCov::Result:0x007fb03ced2530>
Did you mean?  tap (.../annotate_models/.gems/gems/codeclimate-test-reporter-1.0.9/lib/code_climate/test_reporter/formatter.rb:16:in `format')
.../annotate_models/.gems/gems/simplecov-0.12.0/lib/simplecov/configuration.rb:207: warning: constant ::Fixnum is deprecated

Version

  • annotate version: 2.7.3
  • rails version: 5.2.2
  • ruby version: 2.6.0

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions