You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
There are minimal test cases for methods that require hardware. This hardware dependency can be replaced with mocking.
Describe the solution you'd like
Extend the unit tests implemented by integrating unittest.mock to replace hardware dependency in tests.
Describe alternatives you've considered
Alternatively, a resource file could be loaded and utilized; however, this requires management of an additional log file and is not standard to software development.
Implementation Ideas
Utilize the unittest.mock interface for testing hardware dependent methods such as message handlers.
Is your feature request related to a problem? Please describe
There are minimal test cases for methods that require hardware. This hardware dependency can be replaced with mocking.
Describe the solution you'd like
Extend the unit tests implemented by integrating
unittest.mock
to replace hardware dependency in tests.Describe alternatives you've considered
Alternatively, a resource file could be loaded and utilized; however, this requires management of an additional log file and is not standard to software development.
Implementation Ideas
Utilize the
unittest.mock
interface for testing hardware dependent methods such as message handlers.Additional context
The text was updated successfully, but these errors were encountered: