Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Integrate test mocking for hardware dependent unit tests #97

Open
evan-palmer opened this issue Jul 27, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@evan-palmer
Copy link
Contributor

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

@evan-palmer evan-palmer added enhancement New feature or request mid priority This doesn't need to be completed immediately labels Jul 27, 2022
@evan-palmer evan-palmer removed the mid priority This doesn't need to be completed immediately label Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant