TDD for Embedded C++
2018-11-08 23:24:31 UTC
Most useful learnings:
I have taken this course previously, so it was a good review. The most valuable new item I took out of this was the Active Object pattern.
Concepts v exercises:
Presentation v discussion:
Being mindful of the amount of time spent talking vs. activity. For the most part there was a good balance, but once things got off course (due to our inability to get our own code under unit test for demonstration) this became heavily skewed towards lecture making it difficult to take as much out of it as I would have otherwise been able to.
One of the difficult items I had was understanding the desired design implemented in the light controller exercise. Making this a bit clearer would generally help things along.
I have been for a while now. So yes.
Challenges to applying:
Getting the initial file under test, aka fixing the initial test case to compile and link appropriate will be the short term difficulty. Long term, I see clashes between stub/mock's of untested internal interfaces for one test and the tests meant to test that internal interface. I suspect that this is a design issue in our make file.
Legacy code workshop:
Recommend to others: