HOME JAVA & JEE AJAX & RIA AGILE & SCRUM SOA & REST ERLANG RUBY ON RAILS OPEN SOURCE .NET DESIGN & DDD CLOUD & GRID  
Craig Larman’s Applying Test-Driven Development & Refactoring (TDD-01-02)
CODE: TDD-01-02          DURATION: 2 DAY/S
In this Test Driven Development and refactoring course, you will learn how to apply test-driven development (TDD) and refactoring, apply the most popular open-source frameworks for TDD and use them within a popular IDE. You will learn how to think and apply test-driven design and programming and establish it as a consistent method for your development team.

You will see the value of reducing coupling in your code and learn how to break dependencies, so that tests can be run quickly in isolation. You'll learn how to apply dependency injection methods and how to create and inject alternate “test doubles”, including stubs, fakes, mocks, object factories/mothers. You will also learn to work with legacy code to “bring it under test” and apply TDD.

Finally, we will cover how refactoring is a disciplined design skill to improve the structure of code without changing its external behavior, the various “code smells” and the refactorings to clean them up and we will touch onto using an automated refactoring tool. You will also get a very brief introduction to Acceptance TDD—executable requirements with automated verification, the FIT framework and the Acceptance TDD methodology.

LEARN HOW TO:
  • apply TDD
  • break dependencies and create “test doubles” (fakes, mocks, stubs, ...)
  • inject dependencies with flexible techniques
  • separate test set up code into object factories or “object mothers”
  • identify code smells
  • apply refactorings
  • use an xUnit framework such as Junit
  • bring legacy code “under test”
  • define acceptance TDD and the FIT framework
PROGRAMME
  • Test-Driven Development
  • Method and motivation
  • Writing tests first
  • The TDD lifecycle
  • Testing in an iterative and agile method
  • Categories of TDD: unit, acceptance
  • TDD tools and frameworks
  • Testing in different architectural layers
  • TDD Tools
  • JUnit
  • Unit TDD
  • Practice with XUnit
  • Code smells
  • Refactorings, including Extract Method, Introduce Explaining Variable, and dozens more
  • Test Doubles: Fakes, Stub and Mock Objects
  • Integration vs. unit testing
  • Setting up the test environment
  • Mock generation tools
  • Object factories
  • Object Mother pattern
  • Dependency injection
  • Dependency injection with Spring
  • Continuous Integration and TDD
  • Information radiators for CI
  • Why do people delay integration?
  • Acceptance TDD with FIT
  • TDD and Legacy Code
  • Characterization tests
  • The Legacy TDD life cycle
NEXT SESSION
The next course will be delivered at Skills Matter - London, on 15 Dec 2008.
COURSE DATES & REGISTRATION
Date City Cost Offer
15-12-08 London £1095.00 £1000.00 if booked by 15-11-08 Book Online Now
12-01-09 London £1095.00 £1000.00 if booked by 13-12-08 Book Online Now
20-04-09 London £1095.00 £1000.00 if booked by 20-03-09 Book Online Now
30-07-09 London £1095.00 £1000.00 if booked by 30-06-09 Book Online Now
22-10-09 London £1095.00 £1000.00 if booked by 22-09-09 Book Online Now
Book Online or Call Sales on +44 (0)207 107 2620
ABOUT THE AUTHOR
Craig is an international acclaimed Agile expert and author of many best-selling books on Agile Development, Scrum and Lean.
More about Craig Larman
IS THIS COURSE FOR YOU?
If you are a developer, architect, test engineer or technical leader, keen to learn how to apply test-driven development (TDD) and refactoring, apply the most popular open-source frameworks for TDD and use them within a popular IDE, this is the course for you!

COURSE PREREQUISITES
To benefit from this Test Driven Development course, you should have skill in an object-oriented programming language, prior to attending this class.

COURSE LABS & EXERCISES
Lectures, discussions and practical exercises, during which you’ll work with the popular TDD framework JUnit.

COURSE DATES & REGISTRATION
Date City Cost Offer
15-12-08 London £1095.00 £1000.00 if booked by 15-11-08 Book Online Now
12-01-09 London £1095.00 £1000.00 if booked by 13-12-08 Book Online Now
20-04-09 London £1095.00 £1000.00 if booked by 20-03-09 Book Online Now
30-07-09 London £1095.00 £1000.00 if booked by 30-06-09 Book Online Now
22-10-09 London £1095.00 £1000.00 if booked by 22-09-09 Book Online Now
Book Online or Call Sales on +44 (0)207 107 2620

FOLLOW ON COURSES
Test Automation BootCamp
© Copyright 2003-2008, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Training Rooms  Newsletter  Community  Community-FR  Promotions