Unit tests: Libraries should not contain test-specific logic #14883
Labels
component: untriaged
priority: untriaged
story: move UNITTESTS stubs
Refactor components for independent unit testing
Description of defect
(Raised from #14870 (comment))
A few libraries check
UNITTEST
:But production code should not contain test-specific checks. Instead, fakes/mocks/stubs/... should be enough to wrap any tested modules without modifying interfaces for production uses.
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) ?
mbed-os-6.12.0
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
N/A
How is this defect reproduced ?
N/A
The text was updated successfully, but these errors were encountered: