Video Coming Soon...
62: Automated Testing
Continuing the trend of learning how things work by making them ourselves, we'll be recreating the fuc2 librar you used in Exercise 61. It's a very simple library, and if you recreate it you'll learn that test frameworks are nothing special.
When they're done with this they'll know how to create their own C++ library to share with others, and also how automated testing works.
The Code
I think the best way to do this is to maybe also teach a bit of git and have them get the project:
- https://lcthw.dev/cpp/fuc2 is the code
- Show how to check it out
- Demonstrate how to find everything
- Walk them through how to make their own version of it based on mine.
- Alternatively, tell them there's things I want and have them try to make a patch for it?
The Breakdown
line of code- Description.
The Discussion
Blah blah.
Further Study
- Do this next.
Register for Learn C++ the Hard Way
Register to gain access to additional videos which demonstrate each exercise. Videos are priced to cover the cost of hosting.