Skip to content

Refactor stacktrace parsing and increase test coverage#1190

Merged
st0012 merged 9 commits intomasterfrom
test-backtrace-parsing
Jan 10, 2021
Merged

Refactor stacktrace parsing and increase test coverage#1190
st0012 merged 9 commits intomasterfrom
test-backtrace-parsing

Conversation

@st0012
Copy link
Copy Markdown
Contributor

@st0012 st0012 commented Jan 8, 2021

This PR moves all of the stacktrace parsing logic into the StacktraceInterface. It also adds more test cases around the stacktrace parsing results.

@st0012 st0012 added this to the 4.1.3 milestone Jan 8, 2021
@st0012 st0012 self-assigned this Jan 8, 2021
@st0012 st0012 force-pushed the test-backtrace-parsing branch from 60b2e58 to 29e2404 Compare January 8, 2021 16:08
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 9, 2021

Codecov Report

Merging #1190 (925bf25) into master (c886fc6) will increase coverage by 0.61%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
+ Coverage   97.95%   98.57%   +0.61%     
==========================================
  Files         191       97      -94     
  Lines        8078     4345    -3733     
==========================================
- Hits         7913     4283    -3630     
+ Misses        165       62     -103     
Impacted Files Coverage Δ
sentry-ruby/lib/sentry/backtrace.rb 93.33% <100.00%> (-0.22%) ⬇️
sentry-ruby/lib/sentry/event.rb 98.85% <100.00%> (-0.14%) ⬇️
sentry-ruby/lib/sentry/interfaces/stacktrace.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/backtrace/lines_spec.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/backtrace_spec.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/event_spec.rb 100.00% <100.00%> (ø)
...try-ruby/spec/sentry/interfaces/stacktrace_spec.rb 100.00% <100.00%> (ø)
...try-raven/lib/raven/interfaces/single_exception.rb
...raven/spec/raven/processors/utf8conversion_spec.rb
...en/lib/raven/integrations/sidekiq/error_handler.rb
... and 93 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c886fc6...925bf25. Read the comment docs.

@st0012 st0012 merged commit 17e8ce8 into master Jan 10, 2021
@st0012 st0012 deleted the test-backtrace-parsing branch January 10, 2021 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants