Skip to content
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

Add simplecov for formatting and ignoring files for test coverage #2106

Merged
merged 5 commits into from
Mar 2, 2021

Conversation

maxkadel
Copy link
Contributor

@maxkadel maxkadel commented Mar 2, 2021

No description provided.

@coveralls
Copy link

coveralls commented Mar 2, 2021

Coverage Status

Coverage increased (+0.03%) to 87.652% when pulling d794bfd on configure_simplecov into b2e7e54 on main.

bin/rails Outdated
@@ -1,4 +1,10 @@
#!/usr/bin/env ruby
if ENV['RAILS_ENV'] == 'test'
require 'simplecov'
SimpleCov.start 'rails'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that we're always invoking things via binstubs - would it make sense to move this to the rails helper - i.e. see the pattern here: RepoCamp/ascteam2@8eeb14a

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aaaah, ok, I was over-generalizing from step 2 here but I think you're right - https://github.com/simplecov-ruby/simplecov#getting-started

- save coverage to same directory as rspec tests in junit formatting
- will hopefully allow for combining test coverage results
@fnibbit fnibbit merged commit d454f9e into main Mar 2, 2021
@fnibbit fnibbit deleted the configure_simplecov branch March 2, 2021 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants