TDD for Embedded C
2022-03-16 18:25:25 UTC
Most useful learnings:
Going through the flash write demo really drove home the utility of writing tests as you go. I have spent an unreasonable amount of time debugging code with similar functionality. TDD would put a stop to those problems.
Concepts v exercises:
Presentation v discussion:
I think you should give out copies of your book as a part of the course even if you increase the price of the class by that amount.
I would have liked more info on the basics of cpputest earlier in the course and less on the more advanced features at the end. I struggled with the flow in the beginning because I didn't understand how cpputest worked. Maybe 10 minutes of class time, not a video.
I enjoyed the occasional '80 reference, although I suspect I was the only one who recognized them. I haven't heard "I love it when a plan comes together" in decades.
I don't think so. I feel like I need a day or two to setup cpputest correctly with my current workflow. As far as the TDD concepts, yes, I can.
Challenges to applying:
Our firmware is stable and I occasionally have breaks of a few weeks from it. It is tough to implement it if I am not using it daily.
No other comments.
Legacy code workshop:
Recommend to others: