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

Feature/do not mock inline init field #30

Merged
merged 4 commits into from
Mar 26, 2024

Conversation

yaronyam
Copy link
Member

Avoid mocking field that is initialized inline and it's name matches typical logger naming patterns (to reduce impact since currently field overrides in constructor and static initializer are not being searched for)

Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 68.60%. Comparing base (d83311f) to head (835ed7d).
Report is 1 commits behind head on master.

Files Patch % Lines
.../intellij/template/context/MockitoMockBuilder.java 66.66% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #30      +/-   ##
============================================
+ Coverage     68.58%   68.60%   +0.02%     
  Complexity       18       18              
============================================
  Files            84       84              
  Lines          2887     2889       +2     
  Branches        603      601       -2     
============================================
+ Hits           1980     1982       +2     
  Misses          665      665              
  Partials        242      242              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yaronyam yaronyam merged commit 1bd80de into master Mar 26, 2024
17 checks passed
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.

1 participant