wrdv / testme-idea

TestMe IntelliJ IDEA Plugin - Auto generates Unit Test code
http://weirddev.com/testme
Other
170 stars 63 forks source link

Feature/do not mock inline init field #30

Closed yaronyam closed 6 months ago

yaronyam commented 6 months ago

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)

codecov[bot] commented 6 months ago

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 :warning:
Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.