Experience and learn test driven development by doing it. This workshop immerses you in a realistic TDD project, allowing you to learn the practices and principles of test driven development and try them out in practice. Through facilitated exercises and discussion, you will experience two days of working on an agile test-driven team, very similar to normal TDD development work. You will learn and use basic Test Driven Development practices including unit testing, refactoring and related agile practices such as continuous integration and pair programming. You will understand the reasons behind TDD and experience the benefits first-hand, getting into the TDD mentality.

By applying these practices, you will be able to build quality into software from the start, design and develop systems fit for purpose and write code that is easy to maintain and evolve in the future.

The is a completely hands-on workshop with coding straight from the start, interrupted by very short presentations to explain the practices and put things into a wider perspective. It is based on the latest tools and current knowledge and ideas from the community, so you’ll be practicing the state of the art.

LEARN HOW TO:
  • Design and develop software driven by tests
  • Protect software from unwanted changes using regression tests
  • Evolve software design with refactoring and TDD
  • Recognise smells in the code and clean them up
  • Capture requirements and specifications as acceptance tests
  • Use executable specifications to drive development
  • Continuously integrate software to get quick feedback about changes
  • Apply best practices and avoid pitfalls of unit and acceptance testing
  • Use JUnit, Mockito and FIT/FitNesse
PROGRAMME
Day 1

  • Introduction to TDD
  • Unit testing basics
  • Using TDD with JUnit to explore and design software
  • Writing efficient unit tests
  • Applying mock and stub objects with Mockito to isolate tests
  • Best practices and pitfalls of unit testing

Day 2

  • Identifying code smells and improving the code with refactoring
  • Continuous integration and detecting change
  • Converting requirements into executable specifications
  • Applying agile acceptance testing with FIT/FitNesse
  • Best practices and pitfalls of acceptance testing
Teacher: Francis Sanger
Language: English
Duration: 2 days
Price: DKR 9700 ex. vat

Contact: training@trifork.com