---
title: "New TDD Kata - Interactions"
url: "https://osherove.com/blog/2011/5/23/new-tdd-kata-interactions.md"
canonical: "https://osherove.com/blog/2011/5/23/new-tdd-kata-interactions.html"
published: "2011-05-23T21:12:50"
updated: "2011-05-23T21:12:50"
tags: ["Unit Testing", "tdd", "unit-testing"]
author: "Roy Osherove"
description: "Here's a new TDD kata that's a bit more advanced than String Calculator , and requires the use of mocks and stubs to complete. I've been using it in the past 10 or so classes I've had with great impressions of how…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# New TDD Kata - Interactions

By Roy Osherove May 23, 2011 In [Unit Testing](https://osherove.com/blog/category/unit-testing)

**Historical article** · Originally published May 23, 2011; technical details may be outdated.

Here's [a new TDD kata that's a bit more advanced](https://osherove.com/tdd-kata-2/) than [String Calculator](https://osherove.com/kata), and requires the use of mocks and stubs to complete. I've been using it in the past 10 or so classes I've had with great impressions of how people learn it and what problems they face while learning it.

- [#tdd](https://osherove.com/blog/tag/tdd)
- [#unit-testing](https://osherove.com/blog/tag/unit-testing)

## More in Unit Testing

[All posts in Unit Testing](https://osherove.com/blog/category/unit-testing)

- Oct 6, 2011

    ### [Free event and 5 day TDD masterclass in Copenhagen this month](https://osherove.com/blog/2011/10/6/free-event-and-5-day-tdd-masterclass-in-copenhagen-this-mont.html)

- Aug 24, 2011

    ### [Why MSTest is the IE6 of unit test frameworks](https://osherove.com/blog/2011/8/24/why-mstest-is-the-ie6-of-unit-test-frameworks.html)

- Feb 23, 2011

    ### [Free TDD Class Seat in March - Here's How](https://osherove.com/blog/2011/2/23/free-tdd-class-seat-in-march-heres-how.html)

- Feb 21, 2011

    ### [Want a free seat for my TDD class in march? Propose a challenge.](https://osherove.com/blog/2011/2/21/want-a-free-seat-for-my-tdd-class-in-march-propose-a-challen.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
