mdabrowski1990 / uds

Python package for communication via UDS (Unified Diagnostic Services) protocol. The package supports typical buses (i.e. CAN, Ethernet, LIN, FlexRay, K-Line) with possible extensions to any bus.
https://uds.readthedocs.io/
MIT License
82 stars 12 forks source link

Add branch coverage measurement #277

Closed mdabrowski1990 closed 1 month ago

mdabrowski1990 commented 1 month ago

Description

Add branch coverage measurement for unit and integration tests.

How Has This Been Tested?

Process

I know the process and did my best to follow it

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (b0c9edb) to head (0d1be41). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277/graphs/tree.svg?width=650&height=150&src=pr&token=IL7RYZ5ERC&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski)](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) ```diff @@ Coverage Diff @@ ## main #277 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 39 39 Lines 2426 2425 -1 Branches 0 596 +596 ========================================== - Hits 2426 2425 -1 ``` | [Flag](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | Coverage Δ | | |---|---|---| | [integration-tests](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `87.05% <0.00%> (+0.03%)` | :arrow_up: | | [integration-tests-branch](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `81.81% <0.00%> (?)` | | | [unit-tests](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `100.00% <100.00%> (ø)` | | | [unit-tests-branch](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `100.00% <100.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | Coverage Δ | | |---|---|---| | [uds/transport\_interface/can\_transport\_interface.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/277?src=pr&el=tree&filepath=uds%2Ftransport_interface%2Fcan_transport_interface.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#diff-dWRzL3RyYW5zcG9ydF9pbnRlcmZhY2UvY2FuX3RyYW5zcG9ydF9pbnRlcmZhY2UucHk=) | `100.00% <100.00%> (ø)` | |