erpc
erpc copied to clipboard
[FEATURE] Use google test to test each class using e.g. mock feature.
Is your feature request related to a problem? Please describe.
This can simplify tests, and make sure that class is working as should without using testing on device.
Describe the solution you'd like
Using mock functionality we can replace device environment and configure different cases (working/not working) and compare if output is as expected.
Describe alternatives you've considered
Steps you didn't forgot to do
- [X] I checked if there is no related issue opened/closed.
- [X] I checked that there doesn't exist opened PR which is solving this issue.
Additional context
Current gtests would provide information that tests are able to run on devices. But with mock functionality we can be sure all parts of code are tested.