Monday 16th May, 2016
9:30am to 5:30pm
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 testafter and testfirst 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 browserbased 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.
• Foundational unit testing techniques
• The testing pyramid
• Introduction to TDD
• Objections to TDD (and their refutations)
• 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.
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).
Sign in to add slides, notes or videos to this session