TDD for Embedded C
2021-05-28 13:39:49 UTC
Most useful learnings:
TDD doesn't mean writing *all* the tests first. Write tests in very small steps, run tests at each step even if failure expected to ensure on right track.
Concepts v exercises:
Presentation v discussion:
I feel like the large timezone difference was an issue there, creating a disconnect between the theory and time to continue exercices which had to be on next day morning (and not easy to stay focus at during theory late in our time of day).
Introduction to exercices could be made even better (see next answer).
However may be not much you can actually improve but constraints of participants.
It was something hard to figure what to do at beginning of exercices, which caused some lost time in you having to re-explain or demonstrate.
I feel the difficulty was not mostly related to "how" to do things (i.e. not about applying TDD), but on "what" to do (i.e. what is the goal, first step of exercise).
However once on track, I think exercices allowed to try out the TDD approach/tools/framework quite nicely, the cyber-dojo helped well.
Keep it up as it is! Much appreciated positiveness, humour and direct approach! We can feel the great skills you have in this domain and you convey them very well.
Yes, while we are not too bad on the "how much is tested" side (unit testing in continuous integration, coverage, etc. in place), we learned much on improving our working process to go much more in a TDD approach instead of adding tests after.
We also learn much on how to improve the tests themselves and how they are written.
Challenges to applying:
It will be a challenge to be able to temporarily "pause" development of new features, improving testing of existing, and then go back to adding features with TDD approach.
Will have to convince those waiting on new features (on which we are already late) that this delay is worth it in the long run.
The cyber-dojo for exercices is really nice, avoiding all issues of setup, problems etc. on personal computers.
Usage of gather.town show great potential, but we were all maybe too new to it so that it makes a great difference in regard to a simple video call.
Legacy code workshop:
Recommend to others: