Skip to content

No test coverage when installed globally #3

@matthewtusker

Description

@matthewtusker

I've compared installing solargraph_test_coverage both globally and local to a project (via bundler), and it seems that test coverage isn't reported when installed globally. I'm not sure why, and trying to add debug: true to the config doesn't add any information to the logs.

How does rspec get run using this plugin? Is there possibly some issue with it finding the current working directory? I'm still getting inline hints for example_status, just not for test_coverage, so it seems like the specs are still being run, but for some reason the coverage files can't be found.

Here's my config:

plugins:
- solargraph-reek
- solargraph-rails
- solargraph_test_coverage

reporters:
- reek
- rubocop
- require_not_found
- typecheck
- update_errors
- test_coverage
- example_status

test_coverage:
  preload_rails: false
  debug: true

Any help would be greatly appreciated, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions