Writing tests that suck less!

15-min Consensus Talk

Why is it so hard to write proper integration tests?

Timetable

2:25 p.m. – 2:40 p.m. Wednesday 14th

Room

Room F1 - Track 1: Talks

Audience

Testers, Automation Engineers, Product Owners

Key-Learning

  • How to separate the "what", the "how" and the "why" of a test?
  • What is a good integration test?
  • Strategies to transform tests to a living documentation

The "What", the “How” and the "Why"

Writing unit tests is easy, since testing functions is trivial. But the more high-level our tests become, the more they have to deal with the state and side-effects of our application. It becomes harder and harder to write proper tests. And worst of all: they are harder and harder to understand and to maintain, greatly diminishing the value of those tests as a documentation of your software.

On the other hand Acceptance Tests can be seen as the most important tests of our systems. They should be easy to read and to reason about. These tests have to clearly communicate the intent of the code under test.

In this talk I want to show how you can use simple strategies to tranform your acceptance tests to something, that clearly separate why is something tested, what is tested and how it is tested. These tests will be easy to grasp and to reason about, providing great value as an executable documentation of your systems.

Related Sessions

10:25 a.m. – 12:25 p.m.
Creative Space Room - Track 9: Bonus Sessions

Bonus Session

9:00 a.m. – 5:00 p.m.

Full-Day Tutorial (6 hours)

11:55 a.m. – 12:25 p.m.
Room F2 - Track 2: Talks

30-minute Talk

1:55 p.m. – 2:25 p.m.
Room E2+E3

30-minute Talk