TDD for Embedded C++
2019-12-17 17:16:51 UTC
Most useful learnings:
A lot of interesting rules, specially Zombie, Dry etc.
Concepts v exercises:
Presentation v discussion:
You may consider starting with a simple exercise where you ask the participants to just solve a problem in their own way (without TDD) for a given set of requirements, record the time taken by them to complete this task. modify some of the requirements in a way that they would impact or fail the previously stated requirement. Most of them would probably break it as there were no test cases for validation. Then ask them to do the same using TDD. This will give a hands on comparison of TDD and ordinary way of SW development.
mock test exercise was kind of boring for me as I didn't use that before.And I am not a device driver developer, so it was slightly boring for me, you may consider using some slightly interesting(less complex) example in the future. It all depends on the audience.
Overall it was a good experience. The instructor knows his stuff.
Challenges to applying:
We are at the product delivery stage for one of main project, so finding time to write test cases could be difficult. No doubt, these test cases would be useful but finding a balance between bug fixing and test case development would be the key.
No, The duration was reasonable
Legacy code workshop:
Recommend to others: