CMock is a mock generator that lets us spoof headers and functions that we aren't testing.
This PR introduces it to the embedded repo, and makes an example test (SetContactorsTest.c) in the AuxBMS unit tests.
Don't worry about the actual content of the tests in SetContactorsTask.c - that's a later problem. This PR is just a proof of concept on how to use the cmock expects and the like.
CMock is a mock generator that lets us spoof headers and functions that we aren't testing.
This PR introduces it to the embedded repo, and makes an example test (
SetContactorsTest.c
) in the AuxBMS unit tests.Don't worry about the actual content of the tests in
SetContactorsTask.c
- that's a later problem. This PR is just a proof of concept on how to use the cmock expects and the like.