TDD for Embedded C/C++
2022-03-17 08:26:18 UTC
Most useful learnings:
ZOMBIES. This really help with creating test list and think of how to approach testing in simple way.
Concepts v exercises:
Presentation v discussion:
I don't know. Format looks excellent.
Some exercise's objective is not super clear. For example Exercise 3.1 objective states that we should "Test-drive Flash_Program device from its specification", but actual implementation is done in Exercise 3.2, and 3.1 exercise is more about learning about extern "C"
Instructor is very experienced and can answer a lot of various questions about TDD and more!
Bring it on!
We already started writing unit test in our company ~4 months ago, but TDD was not widely adopted. Now I will start to practice TDD more where it makes sense.
Challenges to applying:
Legacy code, but we will start phasing it out, and do major rewrite of our code base (mostly because of chip shortages we want our code to be more portable). In new gen project I do not se any blocks which would prevent applying TDD.
Some minor technical difficulties, but in 3 years of Covid everyone is used to remote training, meetings, etc. Gather town is nice tool which increases interactivity of course.
Legacy code workshop:
Recommend to others: