A video sent me down the test pyramid again, so I built the diagram I wish it hadEin Video hat mich wieder zur Testpyramide gebracht, also habe ich das Diagramm gebaut, das es mir schuldig geblieben ist
· 20:30
Someone sent me a German testing-explainer video — “Was hat die Test-Pyramide mit den verschiedenen Test-Arten zu tun?” by dev-time — and I said, half-joking, that I’m a testing master. TDD and BDD, years before either acronym was something you’d put on a slide. So no, the video didn’t teach me anything new about testing. What it did was remind me how badly most explanations of the test pyramid get the shape of it wrong — treating it as six boxes stacked for no particular reason, instead of a structure with two real axes underneath it.
The shape isn't decoration
Every test type in the video sorts into one of two categories: white-box (you read the code to find your cases) or black-box (you only see inputs and outputs, like an API contract). That’s the left axis. The right axis is automation cost — how fast it runs, how much infrastructure it drags along. The pyramid’s actual silhouette — wide base, narrow tip — tracks volume: roughly 80% of your tests sit in the base, 15% in the belly, 5% at the tip. Higher up means more business judgment required, harder to automate, slower to run. Six layers, bottom to top: Unit, Component, Integration, Acceptance, System, Performance.
Most diagrams of this just draw six equal boxes and label them. None of that information — which axis, which band, why the shape — survives the flattening.
So I built the diagram instead of writing the summary
The Test Pyramid is an interactive version: the six bands are sized to the real 80/15/5 proportions, not evenly split, and both axes run alongside the shape as actual labeled rails instead of a caption underneath. Click any band and it tells you what that layer actually covers, who writes it, and how it runs — the stuff that usually only shows up as a wall of text under a static image, if it shows up at all.
A few of the things worth knowing, now attached to the layer that explains them instead of floating in a bullet list: Integration tests get written by accident more than by design, because the infrastructure’s already there — that’s exactly the mistake that produces hour-long test suites that don’t actually test business logic. Acceptance tests done properly (BDD, scenarios written before the code) are a real bridge between business and engineering; done as framework-without-practice, they’re just expensive. System tests exist because “all green in CI” and “actually starts in production” are different claims. Performance tests arguably matter more than any of the others, because a feature that’s broken affects some users some of the time, but a system that’s slow affects everyone, always.
The actual point
I didn’t need the video’s content. I needed the shape made legible, because the shape is the argument — strip it out and you’re left with six words and no reason to believe any of them.
Source: "Was hat die Test-Pyramide mit den verschiedenen Test-Arten zu tun?" — dev-time, Softwareentwicklung einfach erklärt.
Jemand hat mir ein deutsches Testing-Erklärvideo geschickt — “Was hat die Test-Pyramide mit den verschiedenen Test-Arten zu tun?” von dev-time — und ich habe halb im Scherz gesagt, ich sei ein Testing-Master. TDD und BDD, Jahre bevor eines der beiden Kürzel auf eine Folie gehört hätte. Also nein, das Video hat mir nichts Neues übers Testen beigebracht. Was es getan hat: mich daran erinnert, wie oft die meisten Erklärungen der Testpyramide ihre Form falsch verstehen — sechs Kästen ohne erkennbaren Grund übereinandergestapelt, statt einer Struktur mit zwei echten Achsen darunter.
Die Form ist keine Dekoration
Jede Testart im Video fällt in eine von zwei Kategorien: White-Box (man liest den Code, um Testfälle zu finden) oder Black-Box (man sieht nur Ein- und Ausgaben, wie bei einem API-Vertrag). Das ist die linke Achse. Die rechte Achse ist der Automatisierungsaufwand — wie schnell es läuft, wie viel Infrastruktur es mitschleppt. Die tatsächliche Silhouette der Pyramide — breite Basis, schmale Spitze — bildet die Menge ab: etwa 80% der Tests sitzen in der Basis, 15% im Bauch, 5% an der Spitze. Weiter oben bedeutet mehr fachliches Urteilsvermögen, schwerer zu automatisieren, langsamer in der Ausführung. Sechs Schichten, von unten nach oben: Unit, Komponente, Integration, Akzeptanz, System, Performance.
Die meisten Diagramme dazu zeichnen einfach sechs gleich große Kästen und beschriften sie. Keine dieser Informationen — welche Achse, welches Band, warum diese Form — überlebt die Abflachung.
Also habe ich das Diagramm gebaut statt die Zusammenfassung zu schreiben
Die Testpyramide ist eine interaktive Version: Die sechs Bänder sind nach den echten 80/15/5-Proportionen bemessen, nicht gleichmäßig aufgeteilt, und beide Achsen laufen als echte beschriftete Leitplanken neben der Form entlang, statt als Bildunterschrift darunter. Auf ein Band klicken, und es sagt, was diese Schicht tatsächlich abdeckt, wer sie schreibt und wie sie läuft — das Zeug, das normalerweise nur als Textwand unter einem statischen Bild auftaucht, wenn überhaupt.
Ein paar Dinge, die es wert sind zu wissen, jetzt an die Schicht geheftet, die sie erklärt, statt lose in einer Aufzählung zu schweben: Integrationstests werden eher aus Versehen als aus Absicht geschrieben, weil die Infrastruktur schon da ist — genau das ist der Fehler, der stundenlange Testsuiten erzeugt, die keine Fachlogik testen. Richtig gemachte Akzeptanztests (BDD, Szenarien vor dem Code geschrieben) sind eine echte Brücke zwischen Fachbereich und Entwicklung; als Framework ohne Praxis sind sie nur teuer. Systemtests existieren, weil “alles grün in der CI” und “startet tatsächlich in Produktion” zwei verschiedene Aussagen sind. Performance-Tests zählen vielleicht mehr als alle anderen, weil ein kaputtes Feature manche Nutzer manchmal betrifft, ein langsames System aber alle, immer.
Der eigentliche Punkt
Ich brauchte den Inhalt des Videos nicht. Ich brauchte die Form lesbar gemacht, denn die Form ist das Argument — entfernt man sie, bleiben sechs Wörter übrig und kein Grund, einem davon zu glauben.
Quelle: "Was hat die Test-Pyramide mit den verschiedenen Test-Arten zu tun?" — dev-time, Softwareentwicklung einfach erklärt.