-
Notifications
You must be signed in to change notification settings - Fork 15
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
#114553545 Merging Coverall Test Results #50
Conversation
However, i noticed a significant drop in coverage.
This is an issue of SimpleCov Issue #444 I tried the suggested fix with changing line 7 of the merge_helpers.rb of the SimpleCov lib locally and got the following improvements: As you can see, unrelevant lines are now correctly displayed in grey and not counted as uncovered: |
Hmm.. I see. Weird. Are the cucumber tests taken into consideration in the above coverage calculations? |
Let me check this again.. |
Weird. It seems like this are only the cucumber scores. I tested this behavior by changing the test_with_coverall task For For only rspec ( For only cucumber ( |
bae79a0
to
878be2b
Compare
@tochman : Seems its working (at least locally) now. Maybe we could test this within the CI now by changing the Semaphore task to: The problem was, that SimpleCov needs to know which spec files belong to which "group" of testing. |
I'll merge this in if you feel it's ready to be tested on semaphore. |
I think this should work now :) |
https://www.pivotaltracker.com/story/show/114553545
Rakefile task added, .simplecov for options added, modified env.rb and rails_helper.rb
By modifiying the .simplecov file with additional "add_filter" methods we can specify which files should not be tested (regarding to the second point of the story, that we only want to test files within the app folder)