TDD for Embedded C/C++
2023-01-27 19:06:31 UTC
Most useful learnings:
I found learning about mocks and fakes was incredibly useful. I had taken a course in college that introduced me to the fundamentals of using different debugging techniques and TDD, however mocks and fakes were never discussed.
Concepts v exercises:
Presentation v discussion:
Maybe a brief overview of how to setup CppUTest to work on a machine after we have gone through the course using cyber-dojo to get an idea of how to setup/integrate it into a codebase.
James was incredibly helpful whenever questions were asked and at making sure no one got stuck during the exercises.
Bring it on!
Yes! I've already begun integrating unit tests into my current project
Challenges to applying:
One challenge is the reliance on some large third-party libraries, such as OPC which could be potentially challenging to test
Legacy code workshop:
Recommend to others: