Notes from presentations are available on this site (if the presenter has provided
us with his/her materials). Simply go to the PROGRAM link and click on the session.
Hands On · Developing
Friday, 08:30, 3 hours 30 minutes | Meeting Room 16
Test Driven Development is a state of the art software development practice.
When using TDD, programmers get instant feedback that the code they are writing
does what they intend. An open source test harness is used to collect, organize
and automate unit tests for your C++ code.
This class shows the motivations behind TDD, but does not stop there. Attendees get first hand experience at TDD. You will write code using TDD. You will see how tests can prevent many bugs. You will see how TDD can help programmers prevent memory leaks.
Students should bring laptops. We will pair program in the class, so solo's can team up.
Students are requested to visit the following website after August 1st and prior to the session: http://www.fitnesse.org/Agile2007TddCppPreparationPackage for setup instructions
* What is Test Driven Development?
* Why is TDD Important?
* Design for Testability
* TDD Cycle
* Starting Point for Every C++ class
* Test Doubles/Mock Objects
* CppUTest Overview
TDD Exercise Part 1 (students are given a series of tests to implement one at a time, these tests give them the feeling for the right size test in TDD.)
TDD Exercise Part 2 (students are given just the names of tests, and implement them one at a time)
Review and Questions