training,courses,course,training course,scrum,agile project,spring,ajax,java,uml,rails,ruby,hibernate,apache,tomcat,mentoring,on site training training,courses,course,training course,scrum,agile project,spring,ajax,java,uml,rails,ruby,hibernate,apache,tomcat,mentoring,on site training
  HOME JAVA & JEE AJAX & RIA AGILE & SCRUM SOA & REST ERLANG RUBY ON RAILS OPEN SOURCE .NET APACHE & TOMCAT  
Craig Larman’s Applying Test-Driven Development & Refactoring (REFACTORING-01-02)
CODE: REFACTORING-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 21 Jul 2008 by Hans Dockter.
COURSE DATES & REGISTRATION
Date City Cost Offer
21-07-08 London £1000.00 £900.00 if booked by 21-06-08 Book Online Now
02-10-08 London £1000.00 £900.00 if booked by 02-09-08 Book Online Now
04-12-08 London £1000.00 £900.00 if booked by 04-11-08 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 & EXCERCISES
Lectures, discussions and practical exercises, during which you’ll work with the popular TDD framework JUnit.

COURSE DATES & REGISTRATION
Date City Cost Offer
21-07-08 London £1000.00 £900.00 if booked by 21-06-08 Book Online Now
02-10-08 London £1000.00 £900.00 if booked by 02-09-08 Book Online Now
04-12-08 London £1000.00 £900.00 if booked by 04-11-08 Book Online Now
Book Online or Call Sales on +44 (0)207 107 2620

FOLLOW ON COURSES
Test Automation BootCamp
Copyright & Copy Skills Matter Ltd 2003-2008
  Web development by You In Control
About Us  Jobs  Find Us  Room Hire  Newsletter