This is a continuation of Last time.
[Amazon.co.jp: Embedded programming with test-driven development-Agile design learned in C language and object orientation](https://www.amazon.co.jp/%E3%83%86%E3%82%B9 % E3% 83% 88% E9% A7% 86% E5% 8B% 95% E9% 96% 8B% E7% 99% BA% E3% 81% AB% E3% 82% 88% E3% 82% 8B% E7 % B5% 84% E3% 81% BF% E8% BE% BC% E3% 81% BF% E3% 83% 97% E3% 83% AD% E3% 82% B0% E3% 83% A9% E3% 83 % 9F% E3% 83% B3% E3% 82% B0-% E2% 80% 95C% E8% A8% 80% E8% AA% 9E% E3% 81% A8% E3% 82% AA% E3% 83% 96% E3% 82% B8% E3% 82% A7% E3% 82% AF% E3% 83% 88% E6% 8C% 87% E5% 90% 91% E3% 81% A7% E5% AD% A6% E3% 81% B6% E3% 82% A2% E3% 82% B8% E3% 83% A3% E3% 82% A4% E3% 83% AB% E3% 81% AA% E8% A8% AD% E8% A8% 88-James-W-Grenning / dp / 4873116147)
A masterpiece of * James W. Grenning *. I think it's a bible for people who want to do test-driven development in the embedded area.
However, if you try to study by copying sutras, you may be in trouble because you may stumble in the environment or just type in the code written in the book and it will not work. The completed code is distributed on O'Reilly's official page, but I often get lost along the way. In particular, from Chapter 8 "Spying the product code", both the test code and the product code may be omitted, so it is easy to get lost.
I will publish my sutras so that those who start studying with the book can use it as a reference when they get lost so that they can start the test quickly.
https://github.com/tomoyuki-nakabayashi/TDDforEmbeddedC_Chapter8
You can clone and run the test in 1 minute. If you want to start Chapter 8 from the beginning, please use the tag startline or p133. startline just prepared the file, p133 is in the state where the first test passed.
If you are copying a book and get lost, please refer to the commit log. I try to commit as often as possible. Since we have committed including the test name and page number in the book, I think that you should read it while checking the difference.