TDD for Embedded C
2015-08-27 20:21:02 UTC
Most useful learnings:
Getting a test harness around existing code so we can test off the target system.
Concepts v exercises:
Presentation v discussion:
Some confusion with the mocks - didn't realize that calls to the expected read function would cause the specified return values to get queued up and returned one by one on each read.
Sometimes the starting point was not clear - there were some notes in 'instructions' and other notes in the cpp file.
Personable, friendly, knowledgeable. Obviously believes in what is being taught. Thought he did a good job explaining concepts.
I think I could. I would probably like to start with some new code and practice before going back and getting existing code to run off the target.
Challenges to applying:
A lot of dependencies even in fairly new project code as old stuff was copied across and things such as the redefined uintx_t's will slow things down until fixed.
Legacy code workshop:
Recommend to others: