Open
Description
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.