Skip to content

mgmt/mcumgr/lib: unit testing #40962

Open
@de-nordic

Description

@de-nordic

Is your feature request related to a problem? Please describe.
Lack of unit tests inside mcumgr library.

Describe the solution you'd like
The library needs to have sub-routines that can and should be tested identified and unit test should be written for them.
We need this in mcumgr to be able to catch regression and maybe remove bugs that have not been uncovered yet.
This should also allow us to have greater freedom in modifying mcumgr as it would allow us to prove that changes
do not brake existing functionalities.

Describe alternatives you've considered
Unit testing of utility sub-routines, unit testing of command processing callbacks only, and testing both.

Additional context
Zephyr tests subsystem should be used.

Metadata

Metadata

Assignees

Labels

Feature RequestA request for a new featurearea: TestsIssues related to a particular existing or missing testarea: mcumgr

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions