TDD for C++
2020-04-11 03:19:32 UTC
Most useful learnings:
I understood the cycle of TDD.
Initially I used to write code and then write unit test
Now my whole view point changed, RED->GREEN->REFACTOR
Concepts v exercises:
Presentation v discussion:
(1) People are busy, so expecting them to go through 1 hour of video before the course becomes challenging.
They are distracted. The time they commit to training is what they can spend. The training time can be extended to go through the videos
(2) The requirements for circular buffer could have been explained. Again expecting the trainees that they gone through the videos and understood the requirements would be difficult. 10 minutes could be spent in explaining the requirements of circular buffer
(3) Case studies on of how TDD helped productivity/performance would be more useful.
The exercise were good, simple to be done over web. It was perfect example
I have started doing TDD right away
Challenges to applying:
Mocking free functions, singletons
No comments, it was good
Legacy code workshop:
Recommend to others: