Skip to content

Increase Watchdog and PWM Unittest coverage #14634

Open
@rajkan01

Description

@rajkan01

Description of defect

Watchdog unit test is only covered 76% of Watchdog.cpp and extend this unittest to cover the missed the line number 47,50,61,73,75-77,80,82 refer
index.drivers_source_Watchdog.cpp.html.pdf

PwmOut unit test is only covered 70% of PwmOut.cpp and extent the unit test to cover the missed the line number 39,41-43,66,68-70,73,75-77,95,97-99,102,104-106,109,111-113,116,118-121 refer index.drivers_source_PwmOut.cpp.html.pdf

<!
Add detailed description of what you are reporting.
Good example: https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html
-->

Target(s) affected by this defect ?

N/A

Toolchain(s) (name and version) displaying this defect ?

N/A

What version of Mbed-os are you using (tag or sha) ?

Latest

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

N/A

How is this defect reproduced ?

View test coverage report

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions