•  

Getting better at TDD

A session at SDD 2016

Monday 16th May, 2016

9:30am to 5:30pm (GMT)

This workshop will explain what TDD is, how and when you should use it, and how to ensure you avoid the common pitfalls that are frequently seen. The day is experiential, and combines hands-on practice with formal instruction.

At the end of the course delegates will be able to: write better unit tests; explain the testing pyramid and how it underpins test strategies; compare TDD to test­after and test­first development; describe the costs and benefits of TDD; begin to practice TDD in their place of work; contrast the various types of test doubles available; utilise test doubles in their development process; understand how to apply TDD to legacy code.

The course will be run with delegates working in pairs either in a browser­based development environment provided by the trainer or in a development environment of their choice. Opening introductions will allow the trainer to ascertain the skills/experience mix of the delegates. A group exercise exploring the pros and cons of automated testing follows.

Topics covered:

• Foundational unit testing techniques
• The testing pyramid
• Introduction to TDD
• Objections to TDD (and their refutations)
• Red­/Green/­Refactor
• Recycling tests and other advanced concepts
• Four rules of simple design
• Costs and benefits of automated testing
• Test doubles (mocks, stubs, fakes and dummies)
• TDD with legacy code
• Maintainable test suites
• “TDD as if you meant it”

Delegates will be given a reading list and detailed guidance on how to continue to develop their TDD skills once they finish the course.

About the speaker

This person is speaking at this event.
Seb Rose

Dispassionate software developer/consultant/coach working with teams adopting and refining their agile practices. bio from Twitter

Seb has been a consultant, coach, designer, analyst and developer for over 30 years. He has been involved in the full development lifecycle, with experience that ranges from architecture to support, and from BASIC to Ruby. Recently he has been helping teams adopt and refine their Agile practices, with a particular focus on collaboration and automated testing. Seb is a regular speaker at conferences and occasional contributor to software journals, a contributing author to 97 Things Every Programmer Should Know (O’Reilly) and lead author of the Cucumber for Java book (Pragmatic Programmers).

1 attendee

  • Seb Rose

Sign in to add slides, notes or videos to this session

Sign in to track this session

SDD 2016

England England, London

16th20th May 2016

Tell your friends!

When

Time 9:30am5:30pm GMT

Date Mon 16th May 2016

Short URL

lanyrd.com/sdxbxz

Official session page

sddconf.com/…7

View the schedule

Share

See something wrong?

Report an issue with this session