: Codewords Pune: June 2016 - TDD Made Easier
Join via Google Hangout.
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. But it provides 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
- Spock
- TPP
Demo
The session will be interspersed with code examples in Java (JUnit), C (AceUnit), Groovy (Spock) and Ruby (RSpec, Cucumber).
Disclaimer
Some of the topics like TPP deserve talks of their own and are covered only briefly.