: Elsevier: TDD++: TDD Made Easier Update: Slides and Video online!
Overview
TDD is not a new topic. There have certainly been many talks on TDD already. This talk though… is slightly different. It openly admits that TDD is difficult. We will explore a few of the reasons why TDD is difficult. This talk will then provide some advice and hints on how TDD can become much easier. It covers war story experience of different levels of acceptance testing vs integration testing vs unit testing in multi-component and microservices environments ranging from embedded to cloud.
Learning for Participants
Besides TDD, the session will shed light on ATDD, BDD and the TPP.
Topics
- Definitions of Unit Testing
- Definitions of (A)TDD
- How (A)TDD relates to other aspects of Extreme Programming, Agile Software Development and Software Craftsmanship
- How (A)TDD relates to software architecture
- The Three Laws of TDD
- Unit Test vs Acceptance Test / White Box vs Black Box / Bottom-Up vs Top-Down: When to use which approach
- The 4 A's - Arrange, Act, Assert, Annihilate
- BDD
- The Anatomy of xUnit Frameworks (JUnit, AceUnit)
- Cucumber, Gherkin
- TPP
Demo
The session will be interspersed with code examples in Gherkin, Java (JUnit, Cucumber-JVM) and C (AceUnit).
Disclaimer
Some of the topics like TPP deserve talks of their own and are covered only briefly.
Links
Slides (Update)
The slides from this talk are now online on Slideshare and Google Drive.
Video (Update)
For those of you who missed it, the Video is finally online! Here it is: