moqueries / cli

Lock-free interface and function mocks for Go
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

Track context package/type to make dst.Decorator.ResolveLocalPath unnecessary #109

Closed myshkin5 closed 8 months ago

codecov[bot] commented 8 months ago

Codecov Report

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

Project coverage is 92.17%. Comparing base (d78281d) to head (dad66ea).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/moqueries/cli/pull/109/graphs/tree.svg?width=650&height=150&src=pr&token=akA6OdarTX&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries)](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries) ```diff @@ Coverage Diff @@ ## main #109 +/- ## ========================================== - Coverage 92.39% 92.17% -0.22% ========================================== Files 16 16 Lines 3063 3107 +44 ========================================== + Hits 2830 2864 +34 - Misses 176 185 +9 - Partials 57 58 +1 ``` | [Files](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries) | Coverage Δ | | |---|---|---| | [ast/cache.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-YXN0L2NhY2hlLmdv) | `85.42% <100.00%> (+1.09%)` | :arrow_up: | | [generator/generator.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-Z2VuZXJhdG9yL2dlbmVyYXRvci5nbw==) | `50.98% <100.00%> (ø)` | | | [generator/testmoqs/types.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-Z2VuZXJhdG9yL3Rlc3Rtb3FzL3R5cGVzLmdv) | `0.00% <ø> (ø)` | | | [metrics/metrics.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-bWV0cmljcy9tZXRyaWNzLmdv) | `86.95% <ø> (-1.05%)` | :arrow_down: | | [pkg/testmoqs/types.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-cGtnL3Rlc3Rtb3FzL3R5cGVzLmdv) | `0.00% <ø> (ø)` | | | [generator/moqgen.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-Z2VuZXJhdG9yL21vcWdlbi5nbw==) | `91.72% <96.00%> (+0.08%)` | :arrow_up: | | [generator/converter.go](https://app.codecov.io/gh/moqueries/cli/pull/109?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=moqueries#diff-Z2VuZXJhdG9yL2NvbnZlcnRlci5nbw==) | `95.32% <95.34%> (-0.82%)` | :arrow_down: |
myshkin5 commented 8 months ago

Fixes #110