markbates / markbates/cover_me

broken, I guess?

Open
#30 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
203
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I did `gem install cover_me`, no errors. I see the gem listed when I run `gem list`.

I added require 'cover_me' to the TOP of my test_helper.rb.

I ran `rails g cover_me:install`. I noticed a new file, lib/tasks/cover_me.rake:

namespace :cover_me do
task :report do
require 'cover_me'
CoverMe.complete!
end
end
task :test do
Rake::Task['cover_me:report'].invoke
end
task :spec do
Rake::Task['cover_me:report'].invoke
end

Problems:

1) When I run `rake -T` I do not see any "cover_me" tasks.

2) When I run `rake cover_me:report`, I get:

Couldn't get a file descriptor referring to the console

3) When I Google "cover_me Couldn't get a file descriptor referring to the console" I get nothing helpful.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with lib/tasks/cover_me.rake, test_helper.rb, and the reported `rake -T` and `rake cover_me:report` commands to reproduce both failures. Done means the CoverMe tasks appear in the task list and the report command runs without the file-descriptor error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.