TDD for Embedded C
2022-12-07 08:52:46 UTC
Most useful learnings:
This isn't the first time I hear about TDD. I've read a couple of books about it and tried it out once or twice. And we've been using CppUTest for unittests for the past 3-4 years. So in that sense I did not learn anything new, but it was a good opportunity to get some experience applying TDD in the exercises.
Concepts v exercises:
Presentation v discussion:
Too much presentation
We followed the self-paced online version of the TDD for embedded C course. Since there was quite a lot of video material to watch, sometimes it was a bit difficult to keep paying attention. Maybe some of the video material could be replaced by guided exercises? I liked the exercises that had comments in them to guide us through the process, that's something that may also be useful for showing "bad examples" (ie what does not work / disadvantages of not applying TDD or going too fast etc).
I think the exercises are good as they are, if the couple of issues related to them still being in the beta phase are resolved.
Very energetic and enthousiastic.
I started applying TDD about a week ago, but it's not easy given the quality of existing code.
Challenges to applying:
There are a couple of "loud" coworkers who keep pushing the "TDD is a waste of time, we don't need unittests, get to writing code and then use the debugger" narative.
All in all I liked the course. It did show that the course is still in beta phase (spelling / grammar mistakes in videos, a couple of broken links, a missing exercise, some stuff that was out of order), but some of these issues have already been fixed and I expect the others to be fixed soon.
Legacy code workshop:
Recommend to others: