Questions tagged [simplecov]

Simplecov is a code coverage tool for Ruby 1.9+.

Simplecov is a code coverage tool for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites.

https://github.com/colszowka/simplecov

https://www.ruby-toolbox.com/projects/simplecov

95 questions
0
votes
1 answer

CodeClimate Coverage error: fatal: Not a git repository - this is a git repository

full output: rspec Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} .......................... Deprecation Warnings: RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= is…
NullVoxPopuli
  • 61,906
  • 73
  • 206
  • 352
0
votes
2 answers

How to change Coverage class for SimpleCov

I am getting Coverage is not a class (TypeError) I have already a coverage class in my model and I added gem 'SimpleCov' and when I run Spec then Getting Coverage is not a class (TypeError). The error comes because of coverage class in my model. so…
Dipak Panchal
  • 5,996
  • 4
  • 32
  • 68
0
votes
0 answers

code coverage very low inspite of multiple tests

I have a simple ruby file that returns the largest integer, which has corresponding spec file which, I believe, should go through different part of the code.However, in RubyMine, using simplecove gen, it is reporting only 28.57 % covered ( 7…
Anand
  • 113
  • 1
  • 9
0
votes
1 answer

Ruby SimpleCov missing one return line

This is my class which returns the multiplication of parameters class NetAssetValue def calculate_net_asset_value(number_of_shares, price) number_of_shares * price end end And this is my Test require 'net_asset_value' require…
-1
votes
1 answer

Where to start modifying BashCov to implement --exclude option?

Context While trying to build a/the --exclude/--ignore option to bashcov I am experiencing some difficulties in determining where to start. Bashcov does not support the --exclude/--ignore option yet, as can be seen from the following output to:…
a.t.
  • 2,002
  • 3
  • 26
  • 66
1 2 3 4 5 6
7