This is a companion discussion topic for the original entry at https://interrupt.memfault.com/blog/testing-vs-overhead
Interesting article and well written.
is there a video you would recommend for starting with unit testing C? I find that doing unit testing in embedded is hard if the code/decisions depend on the HW the code is running on.
@shebu18 - Not a video, but this book is surprisingly easy to read and is probably the best resource on the topic: Test Driven Development for Embedded C (Pragmatic Programmers): Grenning, James W.: 9781934356623: Amazon.com: Books.
The book goes into great detail about how to test in the presence of HW dependencies using mocks and fakes.