-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low test coverage! #32
Comments
@amihaiemil perfectly :) |
@amihaiemil but it's not true. The reporting is broken. For example: https://codecov.io/gh/yegor256/0rsk/src/master/objects/tasks.rb This page says that |
Looks like codecov failed: from /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/rake-13.1.0/lib/rake/rake_test_loader.rb:6:in select' from /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/rake-13.1.0/lib/rake/rake_test_loader.rb:21:in block in 'from /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/rake-13.1.0/lib/rake/rake_test_loader.rb:21:in require' from /home/runner/work/0rsk/0rsk/test/test_0rsk.rb:26:in <top (required)>'from /home/runner/work/0rsk/0rsk/test/test_0rsk.rb:26:in require_relative' from /home/runner/work/0rsk/0rsk/0rsk.rb:299:in <top (required)>'from /home/runner/work/0rsk/0rsk/0rsk.rb:299:in require_relative' from /home/runner/work/0rsk/0rsk/front/front_tasks.rb:23:in <top (required)>'from /home/runner/work/0rsk/0rsk/front/front_tasks.rb:23:in require_relative' from /home/runner/work/0rsk/0rsk/objects/tasks.rb:24:in <top (required)>'from /home/runner/work/0rsk/0rsk/objects/tasks.rb:24:in require_relative' from /home/runner/work/0rsk/0rsk/objects/plans.rb:25:in <top (required)>'from /home/runner/work/0rsk/0rsk/objects/plans.rb:25:in `require_relative' Coverage report generated for Unit Tests to /home/runner/work/0rsk/0rsk/coverage/coverage.xml. 291 / 744 LOC (39.11%) covered` |
@pnatashap can we fix this? |
Yes, I fix that error, but in addition codecov report is generated before test run, so no logic is covered and new test does't affect on it. Looking into it, very strange |
Some error are fixed in PR, but coverage is still low. |
Did I get this right? :)
The text was updated successfully, but these errors were encountered: