reverse_coverage icon indicating copy to clipboard operation
reverse_coverage copied to clipboard

A tool to find the test examples which cover a specific line (or set of lines) of a Ruby project

Results 12 reverse_coverage issues
Sort by recently updated
recently updated
newest added

It sounds like this projet is kind of abandoned so I'll push this PR for people who have read your excellent blog post and want to give it a try....

Fix: ``` ArgumentError: wrong number of arguments (given 3, expected 2; required keywords: file_path, line_index) # reverse_coverage-0.1.1/lib/reverse_coverage/main.rb:80:in `save_changes' # reverse_coverage-0.1.1/lib/reverse_coverage/main.rb:35:in `block (2 levels) in add' ```

I'm getting this with reverse_coverage when trying to save out the index: Encoding::CompatibilityError: incompatible character encodings: UTF-8 and ASCII-8BIT (erb):34:in `block (2 levels) in format' (erb):33:in `each' (erb):33:in `block in...

Apologies, I don't have a minimal repro for this bug, but in version `0.1.1`, I occasionally get the error `TypeError: nil can't be coerced into Integer` from this line: https://github.com/nebulab/reverse_coverage/blob/df4ca35eab1048775e974adb33c0ecfa0d6488a1/lib/reverse_coverage/main.rb#L91...

Throwing coverage measurement is not enabled (RuntimeError) exception when calling ReverseCoverage::Main.save_results Here's the backtrace .rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/simplecov-0.18.5/lib/simplecov.rb:398:in `result': coverage measurement is not enabled (RuntimeError) from /Users/krasnick/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/simplecov-0.18.5/lib/simplecov.rb:398:in `adapt_coverage_result' from /Users/krasnick/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/simplecov-0.18.5/lib/simplecov.rb:387:in `process_coverage_result' from /Users/krasnick/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/gems/simplecov-0.18.5/lib/simplecov.rb:107:in...

I propose to move settings.js from `tmp/assets/0.1.0` to make it easier for the user to find and edit it

enhancement

With the standard settings (`window.base_url='../'`) when I click on an example it tries to open it in `tmp/ ...` - after some investigation it seems that `getAbsoluteUrl` is not going...

bug