Port of schuchert.wikispaces.com


tdd.cpp.ProjectOutline

tdd.cpp.ProjectOutline

C++ Project Outline

Developer Studio 2008 Project Directories: cpptdd.zip

Projects

Rpn Calculator

This project introduces the mechanics of TDD in C++. Along the way, you will:

Behaviors

Round 1

Round 2

Round 3

Refactor Stack

Minus, Factorial

Change calculator API

Move to Strategy Pattern

Create Template Method using Test Doubles

Legacy Refactoring/Characterization Testing

Given a wad of code, write characterization tests for it. Once you’ve characterized it, use the tests to safely refactor the code.

Replacing Switch with Polymorphism

Take the previous example through one more refactoring.

Logging In Example

Work on a project on your own with guidance.

Monopoly (if time permits)


Comments

" Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.