util/reflect: improve test coverage #124

Merged
vtolstov merged 1 commits from cover into v3 2022-04-22 09:27:03 +03:00
vtolstov commented 2022-04-22 09:24:45 +03:00 (Migrated from github.com)

Signed-off-by: Vasiliy Tolstov v.tolstov@unistack.org

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
github-actions[bot] (Migrated from github.com) approved these changes 2022-04-22 09:24:57 +03:00
codecov[bot] commented 2022-04-22 09:26:15 +03:00 (Migrated from github.com)

Codecov Report

Merging #124 (206cd8c) into v3 (0ca39a1) will increase coverage by 1.75%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##               v3     #124      +/-   ##
==========================================
+ Coverage   37.54%   39.30%   +1.75%     
==========================================
  Files         104      104              
  Lines        8983     8983              
==========================================
+ Hits         3373     3531     +158     
+ Misses       5255     5089     -166     
- Partials      355      363       +8     
Impacted Files Coverage Δ
network/transport/memory.go 70.55% <0.00%> (ø)
broker/memory.go 55.45% <0.00%> (+3.93%) ⬆️
util/reflect/struct.go 55.55% <0.00%> (+6.14%) ⬆️
util/reflect/reflect.go 39.42% <0.00%> (+32.11%) ⬆️

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 0ca39a1...206cd8c. Read the comment docs.

# [Codecov](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) Report > Merging [#124](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) (206cd8c) into [v3](https://codecov.io/gh/unistack-org/micro/commit/0ca39a147766b9058baf8c3a5edb5dcf8ff11b53?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) (0ca39a1) will **increase** coverage by `1.75%`. > The diff coverage is `n/a`. [![Impacted file tree graph](https://codecov.io/gh/unistack-org/micro/pull/124/graphs/tree.svg?width=650&height=150&src=pr&token=OZPO2LP7VS&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org)](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) ```diff @@ Coverage Diff @@ ## v3 #124 +/- ## ========================================== + Coverage 37.54% 39.30% +1.75% ========================================== Files 104 104 Lines 8983 8983 ========================================== + Hits 3373 3531 +158 + Misses 5255 5089 -166 - Partials 355 363 +8 ``` | [Impacted Files](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) | Coverage Δ | | |---|---|---| | [network/transport/memory.go](https://codecov.io/gh/unistack-org/micro/pull/124/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-bmV0d29yay90cmFuc3BvcnQvbWVtb3J5Lmdv) | `70.55% <0.00%> (ø)` | | | [broker/memory.go](https://codecov.io/gh/unistack-org/micro/pull/124/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-YnJva2VyL21lbW9yeS5nbw==) | `55.45% <0.00%> (+3.93%)` | :arrow_up: | | [util/reflect/struct.go](https://codecov.io/gh/unistack-org/micro/pull/124/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-dXRpbC9yZWZsZWN0L3N0cnVjdC5nbw==) | `55.55% <0.00%> (+6.14%)` | :arrow_up: | | [util/reflect/reflect.go](https://codecov.io/gh/unistack-org/micro/pull/124/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org#diff-dXRpbC9yZWZsZWN0L3JlZmxlY3QuZ28=) | `39.42% <0.00%> (+32.11%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). Last update [0ca39a1...206cd8c](https://codecov.io/gh/unistack-org/micro/pull/124?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=unistack-org).
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/micro#124
No description provided.