<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ivan Boklach on Medium]]></title>
        <description><![CDATA[Stories by Ivan Boklach on Medium]]></description>
        <link>https://medium.com/@ivan.boklach?source=rss-5a01e36c63a4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QdFyKtObHCwnSYWz8L4hWg.jpeg</url>
            <title>Stories by Ivan Boklach on Medium</title>
            <link>https://medium.com/@ivan.boklach?source=rss-5a01e36c63a4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 22:07:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ivan.boklach/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Number on Your Sunscreen Was Measured on Somebody’s Back]]></title>
            <link>https://medium.com/@ivan.boklach/the-number-on-your-sunscreen-was-measured-on-somebodys-back-46eb0985b678?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/46eb0985b678</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Tue, 21 Jul 2026 07:25:06 GMT</pubDate>
            <atom:updated>2026-07-21T07:25:06.842Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*jcKQW-iLhXugLZ3SKJLbeQ.jpeg" /></figure><p>Another entry in a series about how the boring stuff in your house actually gets tested.</p><h3>Why this one bugged me</h3><p>Most product claims are numbers about the product. Horsepower, thread count, wattage, milligrams. You measure the thing itself and print what you found.</p><p>SPF is different, and it took me an embarrassingly long time to notice why. SPF is not a number about the lotion. It is a number about your skin. Specifically, it is a measurement of how much longer a patch of a real human being can sit under ultraviolet light before it starts to redden. To get that number, somebody has to be deliberately, carefully, and repeatably given the early stages of a sunburn. On purpose. In a lab. For the label.</p><p>As a tester I found this fascinating, because it breaks a rule I take for granted. You usually test a product on a rig, not on a person. Sunscreen mostly can’t do that. The thing it protects is skin, and skin is the only instrument anyone trusts to say whether the protection worked. So the whole industry is built around a small controlled act of harm, which is a strange sentence to write about a summer holiday product.</p><h3>Part one: a very old fight against a very bright sky</h3><p>People have been trying to keep the sun off their skin for a lot longer than there have been dermatologists to tell them why.</p><p>The ancient Egyptians reached for rice bran, jasmine, and lupine extracts. The Greeks rubbed on olive oil, which modern testing suggests offered roughly the protection you would guess from a salad dressing, which is to say not much, but it was something. Zinc oxide, still one of the best physical blockers we have, turns up as a skin protector in ancient India. In other places the goal was less about damage and more about status, since pale skin signaled that you did not work in a field. That got dark fast. Women in some eras reached for face powders built on lead and mercury, trading sun damage for heavy metal poisoning, which is not the trade I would have recommended.</p><p>The version we would recognize is barely older than commercial air travel.</p><p>In 1938 a Swiss student named Franz Greiter got a serious sunburn climbing in the Alps, on a peak called Piz Buin. Altitude is sneaky that way. Thinner air and reflective snow can hand you far more ultraviolet than you expect, which is how you fry your face while shivering. Greiter, being the sort of person who responds to a sunburn by inventing chemistry, went off and developed a barrier cream. He commercialized it after the war as Gletscher Crème, Glacier Cream, and named the brand Piz Buin after the mountain that burned him. The brand still exists.</p><blockquote><em>The original cream, by later measurement, had an SPF of about 2, which today would be classified as roughly a rumor of protection.</em></blockquote><p>Around the same time, on the other side of the war, an American pharmacist and airman named Benjamin Green was dealing with the same problem at scale. Servicemen in the Pacific were cooking under a sun with nowhere to hide. Green got hold of red veterinary petrolatum, a thick red goo meant for animals, and used it as a physical barrier. It worked. It was also, by every account, heavy and unpleasant, the kind of thing you wear because the alternative is worse. After the war he took the same red vet pet home to Miami, softened it with cocoa butter and coconut oil on his own stove, and tested batches on his bald head in the Florida sun. That kitchen project became Coppertone.</p><p>Then comes the part I care about most. For decades, “protection” was a feeling. Some creams worked better than others, but there was no honest way to compare two bottles. Greiter is generally credited with fixing that in 1962 by proposing the sun protection factor, a single number tying a product to a measured effect on skin. He refined the system over the following years. It took regulators a while to catch up. The United States FDA only began treating sunscreen as a regulated over the counter drug in the late 1970s, and the modern American rules about broad spectrum and water resistance did not lock into place until around 2012.</p><p>So the reassuring number on the bottle is younger than the moon landing. Before that, you were mostly trusting the marketing and your own regret.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*CM4bR61bcD4iZ2hLTMhgkA.jpeg" /></figure><h3>Part two: how the number actually gets made</h3><p>Here is the thing that surprised me. For all the chemistry in a modern sunscreen, the headline number is still produced by a test that would be recognizable to Greiter. You put the product on human skin, you shine controlled ultraviolet light on it, and you watch for the faint beginnings of a burn.</p><p>The international reference method is ISO 24444. The United States has its own closely related version written into federal regulation, at 21 CFR 201.327. They agree on the shape of the thing.</p><h3>The main event, starring a person’s back</h3><p>A panel of volunteers is recruited, generally people who burn easily, because skin that reddens readily gives a clearer and more reliable signal. The lower back is the usual test ground, being large, flat, and out of the sun in normal life. A technician applies the sunscreen at a precise, standardized thickness of two milligrams per square centimeter. Remember that number, because it matters enormously later.</p><p>Then the light. Not the actual sun, which is unreliable and keeps moving, but a solar simulator, typically a filtered xenon arc lamp tuned to deliver a controlled ultraviolet spectrum. Small squares of skin get exposed to a stepped ladder of doses, a little more, a little more, a little more. Some squares are protected by the sunscreen. Some are bare, as a control.</p><p>Then everyone goes home and waits. The reading is taken 16 to 24 hours later, because a sunburn is a slow confession. A trained assessor looks for the minimal erythemal dose, the MED, which is the smallest dose of ultraviolet that produced the first clearly visible redness with defined edges. They find that threshold on the bare skin, and again on the protected skin. The SPF is just the ratio of the two.</p><blockquote><em>If protected skin needed thirty times more ultraviolet to reach the same faint pinkness, that is SPF 30.</em></blockquote><p>That is the whole trick. SPF is not a property you can weigh or pour. It is the answer to one question: how much more punishment can this skin take with the product than without it. To measure protection from a burn, you first have to produce a burn, under controlled conditions, on a real person who volunteered for exactly that. There is a quiet echo here of an earlier post in this series. To measure how clean a washing machine gets clothes, you first have to manufacture standardized dirt. The physical world keeps solving the same problem the same way. You cannot measure the good outcome until you build a careful, boring version of the bad one.</p><p>To keep labs honest, the test also runs a known reference sunscreen alongside the product, a standard formulation with a documented result, so a lab that drifts high or low gets caught. And the whole panel result has to hold together statistically before the number counts. One suspiciously sunburn resistant volunteer cannot rescue a weak product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/678/1*qicj9HqllIUMiCQYGaE7Cg.jpeg" /></figure><h3>The other question the number ignores</h3><p>SPF only measures UVB, the band that burns you. It says nothing about UVA, the longer band that goes deeper and does the slow work of aging and damage you cannot feel happening. A product can post a heroic SPF and still let UVA through, which is how “broad spectrum” became a fight worth regulating.</p><p>The American broad spectrum test is not done on skin at all. It is an instrument test. A thin film of the sunscreen is spread on a roughened plate of PMMA, a specific plastic chosen because its rough surface mimics the microscopic texture of skin. A spectrophotometer then measures how much ultraviolet the film absorbs across the full range, 290 to 400 nanometers. Out of that comes a value called the critical wavelength. To earn the words “broad spectrum” in the United States, that critical wavelength has to reach at least 370 nanometers, which is the regulator’s way of insisting the product does real work up in the UVA end and not just the easy burning end. There is even an approved way to test this without a single volunteer, which the more squeamish among us can appreciate.</p><h3>The claim they had to ban outright</h3><p>Then there is water resistance, which is mostly a story about a word that no longer exists on American labels. You cannot call a sunscreen “waterproof” or “sweatproof” in the United States. The FDA prohibited both, because nothing survives water forever and the words made a promise no product could keep.</p><p>What you can claim is a time. The test is exactly as literal as it sounds. Volunteers get the sunscreen applied, then spend a set period in water under controlled conditions, with defined rest and drying steps, and then the SPF test resumes on that soaked skin. Whatever protection is left is the protection you get to advertise, and only in two flavors, “water resistant (40 minutes)” or “water resistant (80 minutes).” There is no third tier. If a product cannot hold its number for even forty minutes of swimming or sweating, it does not get the badge.</p><h3>The part where the honest number quietly becomes optimistic</h3><p>Now, that two milligrams per square centimeter from earlier. That is a generous, thick, even layer. For a whole adult body it works out to something like a shot glass of sunscreen, reapplied. Almost nobody on a real beach applies that much.</p><p>Study after study finds that ordinary people apply somewhere between a quarter and a half of the tested amount. And here is the uncomfortable engineering detail: the protection does not scale in a straight line with thickness. Cut the layer in half and you do not get half the SPF, you get considerably less than half. Researchers at King’s College London, applying an SPF 50 the way real people actually apply it, found it delivering at best around forty percent of the protection on the label. Not because the product lied. Because the number was measured under laboratory application, and you are not a laboratory.</p><p>This also quietly demolishes the most common sunscreen myth, that a bigger SPF number means proportionally bigger protection. It does not. The scale flattens hard at the top. SPF 15 blocks roughly 93 percent of UVB. SPF 30 blocks about 97. SPF 50 blocks about 98. Going from 30 to 50 buys you a single extra percentage point of blocked radiation, not an extra two thirds. The FDA has been skeptical enough of triple digit numbers that it proposed capping the label at “60+,” on the reasoning that “SPF 100” mostly sells a feeling of invincibility that the physics does not support. The real reason a higher number sometimes helps in practice is grim and funny at once. It is a buffer against your own under application. You buy SPF 50 and apply it badly and end up somewhere near where SPF 30 would have landed if you had been diligent, which you were not.</p><p>So the number is honest in the lab and hopeful in the wild. It is a correct measurement of a scenario you will almost never reproduce.</p><h3>Why a summer lotion gets a federal test method</h3><p>The recurring theme of this whole series is that good quality is invisible, and you only notice it when it fails. Sunscreen pushes that idea to its limit, because its failure is invisible too, at least at first.</p><p>A washing machine fails and you see the stain. A light bulb fails and the room goes dark. Sunscreen fails and, for a few hours, nothing happens at all. The burn shows up that evening, long after you could have done anything about it. The real damage, the aging and the cancer risk, files its paperwork over decades. It is protection against a threat you cannot see, measured by a harm you have to wait a day to read, sold with a number you will almost certainly undercut. No wonder it took a solar simulator, a federal register entry, and a small army of patient volunteers with marked up backs to pin it down.</p><h3>Sources and further reading</h3><ul><li>21 CFR 201.327, Over the counter sunscreen drug products, required labeling based on effectiveness testing (the US SPF test, the broad spectrum critical wavelength test, and the water resistance test)</li><li>FDA Small Entity Compliance Guide, Labeling and Effectiveness Testing: Sunscreen Drug Products for Over the Counter Human Use</li><li>ISO 24444, in vivo determination of the sun protection factor (the international reference method)</li><li>ISO 24443, in vitro determination of UVA protection</li><li>A. Young et al., King’s College London, research on sunscreen application thickness and real world protection (2018)</li><li>FDA proposed sunscreen monograph and the “SPF 60+” labeling proposal</li><li>Baylor University Medical Center Proceedings, “Sunscreen: a brief walk through history”</li><li>Background on Franz Greiter, Piz Buin, and Benjamin Green / Coppertone (history summaries via Smithsonian, <a href="http://history.com/">History.com</a>, Pharmacy Times)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46eb0985b678" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Light Bulb That Refused to Die, and the Cartel That Made Sure the Rest Would]]></title>
            <link>https://medium.com/@ivan.boklach/the-light-bulb-that-refused-to-die-and-the-cartel-that-made-sure-the-rest-would-707abbc9062a?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/707abbc9062a</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Mon, 13 Jul 2026 12:17:30 GMT</pubDate>
            <atom:updated>2026-07-13T12:17:30.809Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*7PUiKUiagMLmV6zEHLMvbw.jpeg" /></figure><p>Part three of a series about how the boring stuff in your house actually gets tested.</p><h3>Why the bulb is worth a look</h3><p>Last time it was the washing machine, and the tray of deliberately filthy swatches used to prove it actually cleans. This one is different. The washing machine hides its testing. The light bulb wears it on the outside, because the light bulb is the one household object where the testers were once caught doing the opposite of their job.</p><p>I test software for a living, which means I spend my days trying to make things last longer and fail less. So when I found out there was a documented moment where an entire industry sat down and agreed to make their product worse on purpose, and then built a testing program to enforce it, I had to stop and read the whole file. Twice.</p><p>The bulb has two stories. One is a bulb that has been burning continuously since 1901. The other is the reason yours won’t. Both are true, and they are more connected than they look.</p><h3>Part one: the bulb that was too good, and the meeting that fixed it</h3><p>Start with the miracle, because it is real and you can watch it on a webcam right now.</p><p>In a fire station in Livermore, California, there is a hand blown carbon filament bulb that has been lit almost without pause since 1901. It is called the Centennial Light. It was made by the Shelby Electric Company of Ohio, designed by a French engineer named Adolphe Chaillet, and donated to the local fire department by a man who was selling off his power company and apparently had a spare bulb lying around. It started life as a 60 watt bulb. It now glows at roughly 4 watts, about as bright as a night light, which is what a hundred and twenty odd years will do to you.</p><p>It has its own committee. It has been recognized by Guinness. When the fire station moved in 1976, the bulb was transported in a custom box under full firetruck escort with an electrician waiting at the other end, which is more security than most people get. In 2013 its webcam audience watched it appear to burn out, panicked briefly, and then learned that the power supply had failed and the bulb was fine. The bulb outlived the power supply. That happens a lot with this bulb.</p><p>Now, the internet loves to present the Centennial Light as proof that companies could make bulbs last forever and choose not to. That is not quite the lesson. The bulb lasts because it is bad at its job. It runs at very low power, it has a thick sturdy filament, and above all it is almost never switched off. The single most stressful moment in a normal bulb’s life is the flick of the switch, when the cold filament suddenly heats and expands. The Centennial Light simply never has to do that. It is not a lost engineering secret. It is a dim, inefficient bulb that got left alone for a century, which is a much less exciting sentence and also the true one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*zzkxPlAy0SR5YJYtl_NJyQ.jpeg" /></figure><p>Which brings us to the meeting.</p><p>In December 1924, representatives of the largest lamp makers in the world, including Osram, Philips, and the overseas arms of General Electric, met in Geneva and formed a group they named Phoebus. Among other things, like carving up global markets between themselves, they agreed on a number. No member’s household bulb would be rated to last longer than 1,000 hours. At the time, ordinary bulbs commonly ran somewhere in the range of 1,500 to 2,000 hours. So this was a deliberate step down.</p><p>Here is the part that gets me as a tester. They did not just agree to it and trust each other. They built the enforcement. Member companies shipped their bulbs to a central testing operation, and any manufacturer whose bulbs lasted too long was fined. The penalty scaled with the offense, so the longer your bulb survived past the limit, the more you paid. Somewhere there was an engineer whose job was to test bulbs and hope they died on schedule, which is the exact inverse of every quality job I have ever had. I find it genuinely disorienting.</p><p>The full picture is a little more complicated than the meme, and worth being honest about. There is a real engineering tradeoff buried in here. Run a filament hotter and it burns brighter and more efficiently for the same wattage, but it also fails sooner. So a shorter rated life is not automatically pure villainy. It can buy you a better light. But the cartel’s own internal notes, and later a United States court that found General Electric had violated antitrust law over the lamp arrangements, point at the less flattering motive. They wanted you back at the store. The 1,000 hour bulb is often called the first documented case of planned obsolescence, and while people argue about whether it was truly the first, the paper trail is not really in dispute.</p><p>The cartel fell apart around the start of the Second World War. The 1,000 hour habit did not. It hung around for decades as the quiet default of the incandescent bulb, right up until the technology changed underneath it and made the whole question strange again.</p><h3>Part two: how a bulb is actually tested</h3><p>For most of the last century, testing a bulb’s life was almost comically direct. You take a batch of bulbs, screw them into racks, run them at their rated voltage, and wait. Some setups cycle the power on and off on a schedule, because switching is where bulbs die, so a fair test has to include it.</p><p>Then you count the funerals.</p><p>The important thing is how “rated life” is defined, because it is not what most people assume. A bulb rated for 1,000 hours does not mean every bulb lasts 1,000 hours. It means that is roughly the median, the point where about half the batch has failed and half is still glowing. Your individual bulb is a coin flip around that number. This is why the packaging is technically honest and your kitchen bulb still dies on a Sunday when the shops are shut. It was always a statistical promise, never a guarantee. As someone who spends his life explaining that “passing” is a distribution and not a single happy number, I appreciate the honesty, even if I have to admire it in the dark.</p><h3>The problem the LED created</h3><p>Then LEDs arrived and quietly broke the entire method.</p><p>An incandescent bulb fails politely. One moment it works, the next the filament snaps and the light is gone, and you know exactly what happened. An LED almost never does that. Instead it just fades. It gets dimmer and dimmer, year after year, and there is rarely a clean moment of death to time with a stopwatch. So the old question, “how long until it fails,” stopped making sense, and the industry had to invent a new one: “how long until it gets too dim to bother with.”</p><p>That question has a name and a number. It is called lumen maintenance, and the shorthand you will see on a good spec sheet is L70. It means the point at which the light has dropped to 70 percent of what it produced when new. Lose 30 percent of your brightness and you are considered done, even though the thing is still lit. Stricter jobs use L80, and photometrically fussy places like galleries and operating rooms use L90, where a mere 10 percent fade counts as failure. Different rooms, different definitions of dead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*5ja9QiNpnAp4STXu8a43KA.jpeg" /></figure><h3>The measurement, and the honest lie behind it</h3><p>Actually measuring this falls to a couple of standards from the Illuminating Engineering Society, and the split between them is the kind of thing I could talk about at a party until people leave.</p><p>The first is LM-80. This is the patient one. You put LED samples in temperature controlled chambers, usually held at case temperatures of 55 and 85 degrees Celsius plus a third temperature the manufacturer picks, and you run them for at least 6,000 hours while periodically measuring their light output. Six thousand hours is about eight and a half months of a machine sitting in a hot box getting slowly dimmer while someone writes down numbers. It is the Bostwick consistometer energy from the ketchup post, stretched out over most of a year.</p><p>But here is the catch. A good LED is supposed to last tens of thousands of hours. Nobody is going to run a real time test for seventeen years to confirm a seventeen year claim, because by the time the test finished the product would be a museum piece. So you cannot measure the answer. You have to project it.</p><p>That is the second standard, TM-21. It takes the real data from the LM-80 test and fits it to a decay curve, then extends that curve forward to estimate when the light will finally cross the L70 line. And this is where the standard does something I love. It refuses to let you dream. TM-21 caps any projection at six times the length of the actual test. Run your LEDs for 6,000 hours and the most you are allowed to claim is 36,000. Run them for 10,000 and you can claim 60,000, and not an hour more, no matter how flat and beautiful your curve looks.</p><p>So the next time you see a bulb box promising 100,000 hours, you can do the math the standard forces on the honest players. To legitimately claim 100,000 hours, a manufacturer needs well over 16,000 hours of real test data behind it. Many of the wilder numbers on store shelves simply do not have that data, which means the claim is not a measurement. It is a hope in a nice font. The 6x rule is basically the lighting industry’s built in lie detector, and it is one of the more elegant pieces of testing policy I have run into.</p><h3>And the part that measures the light itself</h3><p>Life is only half the story. The other half is whether the bulb is any good while it is alive, and that is a separate standard, LM-79.</p><p>This is the one with the beautiful instrument. To measure exactly how much light a bulb makes, and what color, you put it inside an integrating sphere, a hollow ball coated white on the inside that catches every ray the bulb emits and bounces it to a single sensor. From that one reading you get the total light output in lumens, the efficiency in lumens per watt, the color temperature, and the color rendering index, which is how faithfully the light shows the true colors of whatever it falls on. For bulbs where the direction of the light matters, they use a goniophotometer instead, which measures the beam from every angle by moving the sensor around the bulb in the dark. LM-79 was written specifically for LED products, which tells you how thoroughly the LED rewrote the rulebook that the incandescent bulb had used comfortably for a hundred years.</p><h3>Why a bulb gets a lie detector</h3><p>Here is what stayed with me after all of this.</p><p>With ketchup, the tests exist to make a product boringly consistent, so you never think about it. The bulb is stranger, because with the bulb the testing was once turned around and pointed backward. The same rigor that can prove a bulb is good was used, once, to prove a bulb was not too good. A bulb’s lifespan turns out not to be a fact of physics handed down from the filament. It is a decision. Somebody chooses the number, and then somebody else tests to make sure the number is true, and whether that number serves you or the shareholder depends entirely on who is holding the clipboard.</p><p>The Centennial Light and the Phoebus cartel are the same story told from both ends. One is a bulb nobody optimized, glowing dimly in a firehouse because it was left alone. The other is a room full of experts who optimized very hard, in the wrong direction, on purpose. Good quality is invisible until it fails. It turns out the failure can be scheduled.</p><h3>Sources and further reading</h3><ul><li>Markus Krajewski, “The Great Lightbulb Conspiracy,” IEEE Spectrum (2014), on the Phoebus cartel, the 1,000 hour standard, and the fines for long lived bulbs</li><li>Phoebus cartel, Wikipedia, for the cartel timeline, enforcement, and the note on the brightness versus lifespan tradeoff</li><li>Centennial Light, Wikipedia, and the official site <a href="http://centennialbulb.org/">centennialbulb.org</a>, for the Livermore bulb’s history, wattage, and moves</li><li>Guinness World Records, entry for the Livermore Centennial Light Bulb</li><li>IES LM-80, Approved Method for Measuring Luminous Flux and Color Maintenance of LED Packages, Arrays, and Modules (lumen maintenance test procedure, 6,000 hour minimum, case temperatures)</li><li>IES TM-21, Projecting Long Term Lumen Maintenance of LED Light Sources (the L70 projection method and the 6x reporting cap)</li><li>IES LM-79, Approved Method for Electrical and Photometric Measurements of Solid State Lighting Products (integrating sphere and goniophotometer measurement)</li><li>Background on the older fluorescent life method, IES LM-40, and traditional incandescent median life testing</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=707abbc9062a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To Measure Clean, Somebody First Has to Manufacture Dirt]]></title>
            <link>https://medium.com/@ivan.boklach/to-measure-clean-somebody-first-has-to-manufacture-dirt-9404ed25fb90?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/9404ed25fb90</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Mon, 06 Jul 2026 09:34:48 GMT</pubDate>
            <atom:updated>2026-07-06T09:34:48.232Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*Ha0PrwyPWxWh3cS9wsVeCQ.jpeg" /></figure><p>Part two of a series about how the boring stuff in your house actually gets tested.</p><h3>Why this one</h3><p>Here is the thing that hooked me. In my job, you cannot test whether something works until you define what “working” means, precisely enough that two different people measure it the same way. Easy enough for software. You write the expected result down and compare. But “clean” is slippery. Clean compared to what? My idea of a clean shirt and yours might not match, and neither of us can put a number on it. So I went looking for how the laundry industry pins it down, fully expecting a shrug and a marketing claim.</p><p>What I found instead is that to measure clean, somebody first has to manufacture dirt. On purpose. To a recipe. With a batch number. And that turns out to be a whole quiet industry of its own.</p><h3>Part one: the laundromat is about two thousand years older than you think</h3><p>Before the machine, there was the river, the rock, and a great deal of someone else’s labor. That much I expected. What I did not expect was that the self service laundromat, more or less, was already running in ancient Rome.</p><p>The Romans had professional cleaners called fullones, who worked in shops called fullonicae. One of them, the Fullonica of Stephanus, was sealed under ash at Pompeii and you can still walk through its layout today. The fullers handled the prestige item of the era, the white wool toga, which announced your status and showed every stain. And their secret weapon was urine.</p><p>The chemistry is sound, which is the part that makes it worse. Stale urine breaks down into ammonia, and ammonia is a genuinely good degreaser. It cuts the slightly acidic grime on cloth and brightens whites, which is why a version of it still lives under your sink. So the fullers collected urine from jars left at street corners, poured it into vats, threw in the dirty togas, and then climbed in and stomped, barefoot, for hours. After the soak came rinsing, brushing, and a clay called fuller’s earth that pulled out the last of the grease.</p><p>It got better, if you were the emperor. The supply was valuable enough that Vespasian put a tax on it, the <em>vectigal urinae</em>. As the story comes down to us through Suetonius, when his son objected to profiting from something so vile, Vespasian held a coin to the boy’s nose and asked whether it smelled. It didn’t. The phrase people hang on the moment, <em>pecunia non olet</em>, money does not stink, is a later tidy version, but the coin and the nose are in the ancient record. A tax on laundry fuel, paid in coins that did not smell, two thousand years ago. I think about the fullers every time my machine beeps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*c-lwLPpJRqoFNiPY0f5sKA.jpeg" /></figure><p>Skip forward a great many centuries and the technology had advanced to a board with ridges. The washboard, then the hand cranked tub, then the wringer, two rollers you fed wet clothes through to squeeze the water out. The wringer deserves a moment of respect and fear. It saved enormous effort and it also caught fingers, hands, and the occasional braid or sleeve, and pulled. “Wringer arm” was a real and common injury for generations, common enough that emergency rooms knew it on sight. Your great grandmother’s laundry day had a genuine hazard rating.</p><p>Electricity arrived around 1908 with a machine called the Thor, built by the Hurley Machine Company of Chicago and credited to an engineer named Alva Fisher. It was a galvanized drum spun by an electric motor, and it is usually called the first electric washing machine, though that title comes with an asterisk. A rival firm in Binghamton claimed an electric washer a year earlier, and at least one competing patent predates Fisher’s, which was not granted until 1910. Early history is messy like that. What is not in dispute is that someone bolted a motor to a tub, sold a lot of them, and started us down the road to the appliance you own.</p><p>One distinction matters and almost everyone blurs it. Electric did not mean automatic. The Thor and its kin spun on their own, but you still filled them by hand, watched them, drained them, and fed everything back through that hungry wringer. The leap to a machine that filled, washed, rinsed, and spun in one sequence without you touching it came later, with the Bendix automatic in 1937. The word “automatic” then became the entire battleground of midcentury appliance advertising, because it was the feature actually worth paying for. It was the difference between a powered tool and a machine that did the job while you left the room.</p><p>And the moment a machine does the job while you leave the room, a new question appears. How do you prove it did the job well, when you weren’t watching? That is where the dirty swatches come in.</p><h3>Part two: how a washing machine is actually tested</h3><p>Here is the trick the whole field is built on. You cannot measure cleaning by starting with clean clothes, and you cannot measure it with real dirty clothes either, because no two real stains are alike. So the industry does the only sensible thing. It manufactures dirt to a fixed recipe, applies it to fabric under controlled conditions, and sells that fabric by the sheet.</p><h3>The standardized filth, which is a real product you can order</h3><p>There are companies whose business is reproducible dirt. The best known is wfk Testgewebe in Germany, founded in 1969 for exactly this purpose, alongside EMPA in Switzerland, CFT in the Netherlands, Swissatest, and Testfabrics in the United States. They produce test cloths, called soil monitors, that carry a specific stain applied so consistently that a lab in Ohio and a lab in Osaka can run the same experiment and compare results.</p><p>The stain menu reads like the aftermath of a very clumsy dinner party. Pigment and skin oil, aged blood, cocoa and milk, grass, used motor oil, red wine, tea, lipstick, egg yolk. Each one has a catalog code, so “blood on cotton” or “grass on a polyester blend” becomes a precise, orderable item rather than a vague idea. I will admit a small personal thrill at finding that tomato ketchup is on the list too. It has its own soil code, sitting in the same catalog as the blood and the motor oil. The condiment from the last post turns out to moonlight as a laboratory reagent.</p><p>The point of all this is that the stain is the constant. If the dirt is identical every time, then any difference in the result is the machine and the detergent, which is exactly what you wanted to measure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*55IErGNJzRpWVYg6UBcJ3g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lQktJmeRlDjNub-rmHhlpg.jpeg" /></figure><h3>Reading the result with light, not opinion</h3><p>Once the soiled swatches have been through a wash, you need to score how much stain came out, and “looks pretty clean to me” will not do. So the swatches go under a spectrophotometer, an instrument that shines light at the fabric and measures how much bounces back. A clean white cloth reflects a lot. A stained one reflects less. After washing, the reflectance climbs back toward the clean baseline, and how far it climbs is your cleaning score, read in numbers rather than vibes. Common lab instruments here are the Datacolor Elrepho and its relatives, typically reading reflectance against a white reference. It is the same logic as the color check in the ketchup post, pointed at laundry. A stain is just light that didn’t come back, and washing is the attempt to get it back.</p><h3>The clean clothes that come along for the ride</h3><p>A machine half full behaves differently from a machine packed to its rated load, so you cannot test with a few swatches rattling around alone. The swatches travel inside a ballast load, a quantity of clean, standardized fabric, usually cotton items prepared to set specifications, that brings the drum up to a realistic fill. The ballast is defined by the standards bodies too, so the “background laundry” is as controlled as the stains. Everything in the drum is specified. Nothing is just thrown in.</p><h3>The rulebooks</h3><p>Pull all of this together and you get a method. Internationally, the long standing reference for measuring washing machine performance is IEC 60456, which lays out the soiled samples, a reference detergent, a reference machine, and controlled conditions for water and temperature, so that “performance” means the same thing across borders. It has been revised repeatedly over the years as machines changed.</p><p>The United States runs its own stack. The Association of Home Appliance Manufacturers publishes a performance procedure for household clothes washers, and the Department of Energy defines the federal test procedure used for energy and water labels under its appliance rules. The ENERGY STAR program layers a cleaning performance method on top of those, leaning on the same kind of soil and stain strips. The American results roll up into deliberately unglamorous single numbers, an integrated measure of energy use and one for water use, so a shopper can compare two machines without a chemistry degree.</p><p>A few details give away how seriously this is taken. Water hardness gets controlled tightly, because minerals in the water change how detergent behaves and would quietly corrupt the comparison. Tests are run in replicate, several times over, because one wash proves nothing. And testers track the batch and lot of the stain strips, because even manufactured dirt has a little variation from batch to batch, and the people doing this know it.</p><h3>The parts that are not about stains at all</h3><p>Cleaning is only one axis. A washing machine also has to survive years of spinning a heavy, sloshing, off center load without walking across your floor or shaking itself apart, so endurance and vibration get their own punishment regimes. It has to stay sealed and not flood the room. It has to be electrically safe even though its whole job is to combine water and a motor, which is the same problem the original Thor flunked when its unsealed motor shorted out on early owners. Safety certification for home laundry equipment in the United States runs through a dedicated standard, and no amount of cleaning brilliance excuses failing it.</p><p>And after every instrument has weighed in, there is still, often, a trained person who looks. Because a number can tell you a stain lifted while missing that the fabric came out grey, or pilled, or smelling wrong. The eyeball remains a calibrated instrument that the lab has not fully replaced.</p><h3>Why a chore gets this much machinery</h3><p>What gets me about laundry is how completely the work has vanished. The Roman fullers stomped in vats for hours. Your great grandmother risked her fingers in the wringer. You press a button and walk away, and you are mildly annoyed if a single sock comes out less than perfect.</p><p>That annoyance is the whole point, and it is the recurring theme of this series. The standardized dirt, the light meters, the ballast loads, the federal labels, all of it exists so that the result is boring. So that clean is just clean, every time, and you never have to think about the chemistry or the engineering or the two thousand years of unpleasant history behind a fresh shirt. You only notice any of it on the day the machine fails you, when the clothes come out still marked, or dingy, or wrecked. Good quality is the thing you forgot was hard.</p><p>The fullers would not believe the part where nobody has to climb into the vat.</p><h3>Sources and further reading</h3><ul><li>IEC 60456, Clothes washing machines for household use, Methods for measuring the performance (the international performance method, including soiled samples, reference detergent, reference machine, and base loads)</li><li>AHAM HLW-1, Performance Evaluation Procedures for Household Clothes Washers (Association of Home Appliance Manufacturers)</li><li>U.S. Department of Energy, Energy Conservation Program test procedure for clothes washers, 10 CFR Part 430, Appendix J (energy and water measurement for labeling)</li><li>ENERGY STAR Test Method for Determining Residential Clothes Washer Cleaning Performance</li><li>ANSI/UL 2157, Standard for Safety, Electric Home Laundry Equipment</li><li>wfk Testgewebe GmbH and EMPA Testmaterials, product catalogs for standardized soil monitors, stain strips, and soil ballast systems (sources for the stain codes, including tomato ketchup)</li><li>Suetonius, <em>Life of Vespasian</em>, on the urine tax (vectigal urinae); World History Encyclopedia, “The Fullers of Ancient Rome,” and the Fullonica of Stephanus at Pompeii, for the fulling trade</li><li>On the Thor and early electric washers: the Thor washing machine entry and contemporary accounts of the Hurley Machine Company and Alva Fisher, noting the disputed claim to “first”</li><li>On the first domestic automatic: the Bendix automatic washer, 1937</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9404ed25fb90" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Somewhere Right Now, a Person Is Watching Ketchup Move Very Slowly]]></title>
            <link>https://medium.com/@ivan.boklach/somewhere-right-now-a-person-is-watching-ketchup-move-very-slowly-4d700142c30d?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d700142c30d</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 09:39:25 GMT</pubDate>
            <atom:updated>2026-06-29T09:39:25.115Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Part one of a series about how the boring stuff in your house actually gets tested.</em></p><h3>Why I’m writing this</h3><p>I test things for a living. Software, mostly. I spend my days thinking about how things break, what “good enough” actually means, and who gets to decide. Do that for enough years and you start seeing tests everywhere, like a plumber who can’t stop noticing other people’s pipes.</p><p>Then one evening I was squeezing ketchup onto something and realized I had no idea how the physical world does any of this. Somebody, somewhere, decided this exact bottle was acceptable and let it leave the factory. With what? A taste test? A vibe? A machine? The more I dug, the more I found genuinely strange answers, and honestly some very funny ones, so I decided to write them down. This is the first.</p><h3>First, a quick word on how much abuse your stuff goes through</h3><p>Almost nothing you own reached you without being tortured first.</p><p>There are machines whose entire job is to sit down in an office chair, stand up, and do it again, over and over, tens of thousands of times, to make sure the chair survives you. Phones get loaded into rotating drums and tumbled like socks in a dryer to see what cracks. Ballpoint pens are run across paper by a robot arm to measure how many meters they can write before they give up. Cars are driven into walls with sensor stuffed dummies riding shotgun. Somewhere there is a person whose calm professional opinion is “the toilet paper passed.”</p><p>Most of this happens so that you never have to think about it. That is the strange beauty of testing: when it works, you notice nothing at all. You only meet a tester’s failures, never their successes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*W7XP4yg3_frOwevEM7uPlQ.jpeg" /></figure><p>Which brings me to the single most over qualified object in your fridge.</p><h3>Part one: ketchup had a weird life before it met a tomato</h3><p>Here is the first surprise. Ketchup did not start as a tomato product. It didn’t even start in the West.</p><p>The word comes from coastal southern China and Southeast Asia, from a fermented fish sauce called something close to <em>kê-tsiap</em> in the Hokkien dialect. Salty, pungent, and built to last, it had nothing to do with tomatoes and everything to do with not wasting fish. British and Dutch traders ran into it in the seventeenth and eighteenth centuries, loved it, brought the idea home, and then tried to recreate the flavor with absolutely no fish.</p><p>So early English ketchups were made from whatever was around: mushrooms, walnuts, anchovies, even oysters. For about a hundred years “ketchup” meant a category, not a recipe. If you had asked a cook in 1750 for ketchup, the safe bet was that you’d get a dark mushroom liquid, and you would have been grateful for it. Imagine that energy at a modern barbecue.</p><p>Tomatoes joined the party in early nineteenth century America, where people started folding the fruit into the existing ketchup tradition. It caught on fast, but it had a real problem: it spoiled. To keep it on the shelf, makers leaned hard on chemical preservatives, which ran straight into the pure food movement of the early twentieth century and the public’s growing suspicion about what was actually in their food.</p><p>This is the moment that built the ketchup you know. To make a stable product without the sketchy preservatives, manufacturers reformulated around two natural defenses: riper tomatoes with more solids, and a serious amount of vinegar. The sugar and acid did the preserving that chemicals used to do. So the thick, tangy, almost aggressively red sauce you think of as normal ketchup is partly a souvenir from an old food safety fight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nri33FLqb-BpVFFKABJaxA.jpeg" /></figure><p>It also picked up its most famous personality trait: total refusal to leave the bottle. Anyone who grew up with glass bottles knows the ritual. The polite tap. The wait. The firmer tap. The increasingly undignified slap to the base. And then the betrayal, when half the bottle arrives at once and your fries drown. That stubbornness is not an accident. It is a measured, defended quality, and it gets checked down to the half centimeter.</p><h3>Part two: how ketchup is actually tested</h3><p>This is the part that got me. Ketchup is not just made and shipped. In the United States it can be graded against a published federal standard, held to a legal definition, and put through a whole run of physical, chemical, and microscopic tests. Makers run their own versions constantly, batch after batch, because the rules are real and because customers spot a bad bottle instantly. Tomato ketchup literally has its own entry in the Code of Federal Regulations.</p><p>Here is what gets measured.</p><h3>The flow test, starring a small metal trough</h3><p>The signature ketchup test is also the easiest to picture, and it is exactly as funny as it sounds. The Bostwick consistometer is a little stainless steel trough with a gate at one end held shut by a spring. You load a measured blob of ketchup behind the gate, pop the gate open, start a stopwatch, and then you watch the ketchup ooze down the trough under nothing but its own weight. After a set time, usually thirty seconds, you read how far it crawled along marks spaced every half centimeter.</p><p>That’s the whole thing. No motor, no pressure, just gravity and patience. Which means that somewhere in the world, right now, a fully grown adult is being paid to start a timer and watch ketchup not move. I find this deeply reassuring.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*0SrP-PnzsFD2PFjgJVdv5Q.jpeg" /></figure><p>The clever part is what it captures. The instrument measures consistency as a rate of flow, and that is not the same thing as viscosity. Viscosity is about resistance when something pushes the sauce. Consistency here is just how it spreads when nothing does. The two are related, but the flow reading lines up much better with what a person actually perceives as thickness on a plate. Too far and the ketchup is watery and sad. Too little and it sits there like a brick. Every batch has to land in the window.</p><p>It is cheap, fast, needs almost no training, and delivers a clean pass or fail in half a minute. As a tester, I respect it enormously.</p><h3>The lab version, for when “watch it slide” isn’t enough</h3><p>When makers want the deeper story, they use a Brookfield viscometer, which spins a probe in the sauce and reports true viscosity under different conditions. The split is telling. The trough on the factory floor asks “does this batch pass.” The spinning probe in the lab asks “why does this sauce behave the way it does.” Plenty of places run both.</p><h3>How much tomato is actually in there</h3><p>Thickness is not just texture, it reflects substance. Inspectors measure soluble solids with a refractometer (roughly, how much dissolved tomato is present) and total solids by drying a sample and weighing what survives. This matters because solids content is one of the lines that separates the official grades. The top grade demands a noticeably higher total solids content than the lower ones. More tomato, less water, better grade.</p><h3>The right red</h3><p>“Good red” is not a feeling, it is a reference. Tomato products get judged against official color standards, because color quietly reports ripeness, proper cooking, and whether anything got scorched or went brown. The wrong color is a flag that something upstream went sideways.</p><h3>The microscope test, which I cannot stop thinking about</h3><p>Here is the one that stops people at parties. Because ketchup is made from tomatoes blended into oblivion, you cannot just look at the finished sauce and tell whether rotten fruit went in. So the industry uses the Howard Mold Count, a method that goes back to a 1911 USDA report with the magnificent title <em>Tomato Ketchup Under the Microscope</em>. A trained analyst scans the sauce across many tiny microscope fields and records the share of those fields that contain mold filaments above a set amount.</p><p>A high count does not automatically mean your bottle is dangerous. It is a signal that poor quality or rotting tomatoes slipped into the line, or that something wasn’t clean enough during processing. The count ties into federal defect action levels, which are the published limits for the unglamorous realities of processing fruit at industrial scale. A century old technique, still quietly doing its job behind a very modern squeeze cap.</p><h3>And the things polite people don’t mention</h3><p>Tomato products also get screened for grit, sand, and yes, evidence of insects, complete with dedicated procedures for counting things like fly eggs. It sounds grim, but this is exactly the machinery that keeps your ketchup reassuringly boring. Defined limits, measured honestly, on the contamination that any large farm operation has to actively fight.</p><h3>Acidity, safety, and an actual human tongue</h3><p>The vinegar isn’t only there for flavor. That acidity is part of the preservation system, so acidity and pH get checked to confirm the sauce sits in the safe zone the old reformulation was designed around. And after all the instruments have had their say, there is still a person. Trained tasting panels check the balance of sweet, sour, salt, and tomato, because no trough can tell you whether ketchup tastes right.</p><h3>One number to rule them all</h3><p>All of it rolls up into a grade. The standards score ketchup on color, consistency, freedom from defects, flavor, and finish, and the top grade wants high marks across the board plus that higher solids content. In the end a single score out of a hundred decides whether a batch of sauce is, officially, good enough. Somewhere there is a spreadsheet, and ketchup is on it.</p><h3>Why a condiment gets this much attention</h3><p>Here is the thing that made me want to write the whole series. All of it, the trough and the refractometer and the microscope and the federal scorecard, exists to make a wildly consistent product feel completely unremarkable. You are supposed to forget it is there. Good quality is invisible. You only ever notice it when it fails, when the sauce comes out thin or the wrong color or just off.</p><p>Every familiar thing in your house is hiding a version of this story. A past that is stranger than you’d guess, and a small army of tests standing between the factory and your table. Ketchup just happens to be the one bold enough to make you wait thirty seconds for it.</p><p>The clever part is what it captures. The instrument measures consistency as a rate of flow, and that is not the same thing as viscosity. Viscosity is about resistance when something pushes the sauce. Consistency here is just how it spreads when nothing does. The two are related, but the flow reading lines up much better with what a person actually perceives as thickness on a plate. Too far and the ketchup is watery and sad. Too little and it sits there like a brick. Every batch has to land in the window.</p><p>It is cheap, fast, needs almost no training, and delivers a clean pass or fail in half a minute. As a tester, I respect it enormously.</p><h3>The lab version, for when “watch it slide” isn’t enough</h3><p>When makers want the deeper story, they use a Brookfield viscometer, which spins a probe in the sauce and reports true viscosity under different conditions. The split is telling. The trough on the factory floor asks “does this batch pass.” The spinning probe in the lab asks “why does this sauce behave the way it does.” Plenty of places run both.</p><h3>How much tomato is actually in there</h3><p>Thickness is not just texture, it reflects substance. Inspectors measure soluble solids with a refractometer (roughly, how much dissolved tomato is present) and total solids by drying a sample and weighing what survives. This matters because solids content is one of the lines that separates the official grades. The top grade demands a noticeably higher total solids content than the lower ones. More tomato, less water, better grade.</p><h3>The right red</h3><p>“Good red” is not a feeling, it is a reference. Tomato products get judged against official color standards, because color quietly reports ripeness, proper cooking, and whether anything got scorched or went brown. The wrong color is a flag that something upstream went sideways.</p><h3>The microscope test, which I cannot stop thinking about</h3><p>Here is the one that stops people at parties. Because ketchup is made from tomatoes blended into oblivion, you cannot just look at the finished sauce and tell whether rotten fruit went in. So the industry uses the Howard Mold Count, a method that goes back to a 1911 USDA report with the magnificent title <em>Tomato Ketchup Under the Microscope</em>. A trained analyst scans the sauce across many tiny microscope fields and records the share of those fields that contain mold filaments above a set amount.</p><p>A high count does not automatically mean your bottle is dangerous. It is a signal that poor quality or rotting tomatoes slipped into the line, or that something wasn’t clean enough during processing. The count ties into federal defect action levels, which are the published limits for the unglamorous realities of processing fruit at industrial scale. A century old technique, still quietly doing its job behind a very modern squeeze cap.</p><h3>And the things polite people don’t mention</h3><p>Tomato products also get screened for grit, sand, and yes, evidence of insects, complete with dedicated procedures for counting things like fly eggs. It sounds grim, but this is exactly the machinery that keeps your ketchup reassuringly boring. Defined limits, measured honestly, on the contamination that any large farm operation has to actively fight.</p><h3>Acidity, safety, and an actual human tongue</h3><p>The vinegar isn’t only there for flavor. That acidity is part of the preservation system, so acidity and pH get checked to confirm the sauce sits in the safe zone the old reformulation was designed around. And after all the instruments have had their say, there is still a person. Trained tasting panels check the balance of sweet, sour, salt, and tomato, because no trough can tell you whether ketchup tastes right.</p><h3>One number to rule them all</h3><p>All of it rolls up into a grade. The standards score ketchup on color, consistency, freedom from defects, flavor, and finish, and the top grade wants high marks across the board plus that higher solids content. In the end a single score out of a hundred decides whether a batch of sauce is, officially, good enough. Somewhere there is a spreadsheet, and ketchup is on it.</p><h3>Why a condiment gets this much attention</h3><p>Here is the thing that made me want to write the whole series. All of it, the trough and the refractometer and the microscope and the federal scorecard, exists to make a wildly consistent product feel completely unremarkable. You are supposed to forget it is there. Good quality is invisible. You only ever notice it when it fails, when the sauce comes out thin or the wrong color or just off.</p><p>Every familiar thing in your house is hiding a version of this story. A past that is stranger than you’d guess, and a small army of tests standing between the factory and your table. Ketchup just happens to be the one bold enough to make you wait thirty seconds for it.</p><h3>Sources and further reading</h3><ul><li>USDA Agricultural Marketing Service, U.S. Grade Standards for Tomato Ketchup (grades, solids thresholds, scoring)</li><li>21 CFR 155.194, the federal standard of identity for catsup</li><li>AOAC Official Methods: 984.29 (Howard Mold Counting), 970.59 (soluble solids), 985.26 (total solids), plus the foreign matter and filth methods</li><li>FDA Food Defect Levels Handbook (defect action levels for tomato products)</li><li>B. J. Howard, Tomato Ketchup Under the Microscope (USDA Bureau of Chemistry, 1911)</li><li>Background on the Bostwick consistometer (CSC Scientific; Wikipedia, “Consistometer”)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d700142c30d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Testing the Testers: Building an Effective QA Employee Evaluation System]]></title>
            <link>https://medium.com/@ivan.boklach/testing-the-testers-building-an-effective-qa-employee-evaluation-system-5f7a466bac6d?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f7a466bac6d</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Tue, 19 Aug 2025 08:27:07 GMT</pubDate>
            <atom:updated>2025-08-19T08:27:07.046Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*ULCEtFycHvQsYMfYPxEYKA.png" /></figure><p>QA professionals often joke that they spend their time <em>catching</em> bugs, not <em>raising</em> them. Yet when it comes time to evaluate <strong>the testers themselves</strong>, companies can feel like they’re debugging a complicated code review from hell. How do you <em>measure</em> a QA engineer? By how many bugs they found? How well their automation runs? Or something more ethereal, like “team spirit”?</p><p>In the tech industry, and especially in Russian/CIS IT companies, this challenge has spawned a wild mix of methods — from slick analytics dashboards to old-school one-on-ones with a senior dev (a “curator”).</p><p>In this lighthearted guide, we’ll explore why QA performance reviews matter, what can go wrong if they’re done poorly, and the many ways organizations (globally and in the CIS) have approached this puzzle. We’ll cover mainstream tools (like continuous feedback and 360 reviews) and the more exotic (like assessment centers and predictive AI-driven ratings). We’ll even peek at the quirks of Russian/CIS culture, where senior developers (“curators”) and competency models often steal the show. All along, expect a dash of humor (because performance reviews often need a laugh or two to survive) and plenty of facts and best practices to make your QA evaluation system as solid as the software you ship.</p><h3>The Problem We’re Trying to Solve</h3><p>At first glance, employee evaluations (especially annual reviews) might seem like an administrative chore. But in reality, they’re critical for aligning goals, motivating staff, and improving performance. The data backs this up: organizations that implement frequent, meaningful feedback see <strong>better business outcomes</strong>. For example, Gallup reports that when managers get regular feedback on their strengths, companies enjoy about <em>8.9% higher profitability</em>, and those with ongoing feedback have <em>15% lower employee turnover</em>. In short: <strong>good feedback makes people work better and stick around</strong>.</p><p>Conversely, cranky or absent feedback can kill morale. Consider the QA staff member who fixes bugs like a pro — but never hears anything about it until 5:00 PM on December 31. Or the tester who’s confused why “catching bugs faster” is a metric at all. Companies that treat reviews as an HR formality (or worse, a complaint session) end up with disengaged QAs. A sham review process sows frustration: people dread it, feedback is mistrusted, and improvement never happens. That’s not only bad for the employees — it’s bad for the product.</p><p>So why do so many evaluations flop? One culprit is <strong>lack of clarity and fairness</strong>. If goals and rating scales are vague, employees don’t know what’s expected. Another pitfall is <strong>bias</strong> — human evaluators naturally fall prey to cognitive shortcuts. Recency bias (focusing only on the last few weeks of work) can overshadow a year’s worth of progress. The “halo effect” means that one superstar feat (say, landing a high-profile bug) makes a manager think every other task was great too.</p><p>Other common mistakes make things worse:</p><ul><li>feedback that comes only once a year (cue collective groans),</li><li>metrics that reward the wrong things (like “bugs logged” instead of “bugs prevented”),</li><li>and managers untrained in giving feedback.</li></ul><p>In the CIS context, some companies compound these problems by ignoring global lessons. For example, failing to involve multiple perspectives or relying solely on a mechanical bug-count can backfire. We’ll see later how Russian/CIS firms often introduce their own fixes (like “curators” or technical mentors) to address these challenges.</p><p>In sum, a bad QA evaluation process can:</p><ul><li>Crush motivation (who wants to be blindsided by criticism?);</li><li>Misalign incentives (over-emphasizing one metric can encourage gaming — e.g., raising pointless bugs to look busy);</li><li>Create mistrust (if people think the review is arbitrary or political);</li><li>And ultimately produce a disengaged QA team that finds fewer bugs and writes weaker tests.</li></ul><blockquote>Our goal is to avoid all that. We want a system that employees perceive as <strong>clear, fair, and developmental</strong>. That starts with understanding where performance reviews came from, and what tools we can draw on to get them right.</blockquote><h3>A Brief History of Evaluation in IT and QA</h3><p>Performance reviews have been with us since the industrial revolution, but their modern form evolved in the 20th century. Early on, most companies did simple boss-vs-employee reviews (the dreaded one-on-one with a checklist). Over time, management thinkers introduced more structured methods. Peter Drucker’s <em>Management by Objectives</em> (MBO) was one of the first big ideas: in the 1950s, Drucker recommended setting <strong>specific goals</strong> together with employees so everyone knows what “good” looks like. This approach (emphasizing goals and alignment) became popular, especially in tech-forward companies, and in fact Hewlett-Packard built its whole performance system around MBO in the 1960. The key was mutual goal-setting and measurement rather than gut feeling.</p><p>Around the same era, psychologists introduced the <strong>Behaviorally Anchored Rating Scale (BARS)</strong> to make reviews less arbitrary. In BARS, you define concrete examples of behavior for each rating level. Instead of saying “John is a 3 out of 5,” you’d say “John usually finds 7–10 bugs per week and mentors one junior tester — that’s what a ‘3’ looks like,” for instance. This method, popular in the 1960s–70s, aimed to make feedback more objective by grounding it in specific actions.</p><p>By the 1980s–90s, many companies realized that a single manager’s view is narrow. Enter <strong>360-degree feedback</strong>: astronauts in NASA first used this idea, gathering input from peers, subordinates, and supervisors to get a “360° view” of performance. Today it’s very common in leadership development. As Qualtrics explains, 360-degree reviews give managers “a fuller picture of someone’s strengths and weaknesses” by widening the lens beyond the boss’s biased view. In practice, this means a QA engineer might get anonymous feedback from developers, product owners, and even support staff about their communication, teamwork, and technical skills, not just a rating from their direct lead.</p><p>Meanwhile, the tech industry itself was changing. Quality Assurance as a formal discipline only really took off with large software projects and standards like CMM/CMMI. Early QA metrics were often simple bug counts or test coverage percentages. But measuring QA simply by “how many bugs you found” led to its own problems (and plenty of memes about testers being “professional bug fishers” just to look productive). Over the last couple of decades, QA has matured: instead of just counting bugs, teams track escape rates, test coverage, automation coverage, and more (we’ll dive into these metrics later).</p><p>In Eastern Europe and the CIS, evaluation history is a bit different. Traditional Soviet-era management wasn’t big on self-assessment or feedback from peers — it was hierarchical. But post-1990s, as IT companies in Russia and neighboring countries modernized, they blended Western methods with local twists. One notable development has been the emphasis on <strong>competency models</strong>. Many CIS firms create detailed “skill matrices” for each role (developer, tester, etc.), listing required technical skills and soft skills. Employees are evaluated against these checklists. This comes from the realization that general HR forms aren’t enough for specialists — you need tech-savvy evaluators. Indeed, an OTUS IT industry article notes that in Russian IT companies, HR sets up the overall process but <em>“curators and managers propose competency models and conduct needed procedures.”</em> These “curators” (senior engineers or mentors) might interview the employee, give them technical tasks, and ensure the evaluation matches their real skills.</p><p>So in summary: older evaluation methods from the West (MBO, BARS, 360, etc.) arrived in IT globally, but local CIS practices added their own flavor (like curator interviews and detailed competency forms) to address the challenges of evaluating techies. Today we have a buffet of approaches. Let’s taste-test them.</p><h3>Existing Approaches</h3><p>When it comes to choosing <strong>how</strong> to evaluate QA engineers, companies have a wide menu of methods. Some are mainstream and widely used; others are more unusual. Here are several notable approaches, with a quick compare-and-contrast:</p><ul><li><strong>Continuous Performance Management</strong> — This is the new kid on the block. Instead of annual or biannual reviews, it emphasizes <strong>frequent check-ins and ongoing feedback</strong>. The idea is simple: have regular (even weekly or monthly) short meetings between manager and employee to discuss progress, challenges, and goals. It’s like agile retrospectives for people management. <strong>Advantages</strong>: catches problems early, reduces anxiety (no one’s waiting a year to hear good or bad news), and keeps employees aligned on changing goals. It also fosters a coaching mindset: managers act as mentors, helping staff grow continuously. <strong>Downsides</strong>: it requires discipline (managers must actually talk regularly) and good documentation to track progress. But as the saying goes, ditching the once-a-year review for ongoing feedback is the future. (As one HR article puts it, continuous management “eschews annual performance reviews in favor of more frequent informal check-ins”.)</li><li><strong>360-Degree Feedback</strong> — Think of this as performance review, Expanded Universe edition. In addition to the employee’s manager, <strong>peers, subordinates, and even customers or vendors</strong> give feedback on the individual’s performance. For a QA person, that could mean developers comment on their communication, or PMs note how well they manage deadlines. This method “helps managers get a fuller picture of someone’s strengths and weaknesses,” beyond just the boss’s one opinion. It reduces single-person bias (the manager’s own likes/dislikes) and can surface blind spots. However, it’s more complex to run: you need an anonymous survey tool, time to gather input, and skill to summarize it. Also, Qualtrics cautions that 360 feedback is best used for <strong>development</strong>, not as a substitute for your official review or pay decisions. If done poorly (or without follow-up), it can feel like a lot of letters from strangers and no action plan.</li><li><strong>Management by Objectives (MBO)</strong> — A classic technique from Peter Drucker in the 1950. Here you set <strong>specific, measurable objectives</strong> for each QA engineer, and then evaluate them on meeting those objectives. For example: “Automate X test cases by Q2” or “Reduce escaped bugs by 30%.” MBO aligns individual goals with company goals — the employee “knows exactly what they need to achieve”. It motivates people by giving them clear targets. In practice, many dev teams still use variants of this (Sprint or OKR goals can be seen as a form of MBO). <strong>Advantages</strong>: Focused and measurable. <strong>Pitfalls</strong>: If goals are poorly chosen, employees can “teach to the test” and neglect non-measured tasks. Also, MBO reviews can become a one-way check of boxes (“did you do it or not?”) unless paired with qualitative feedback. Nevertheless, setting objectives is still a bedrock part of many performance systems.</li><li><strong>Behaviorally Anchored Rating Scales (BARS)</strong> — Remember that Owl analogy? (Me neither, because BARS is a dry name but it’s useful.) In this method, evaluators rate employees on scales that are <strong>anchored by specific examples of behavior</strong>. For instance, “Level 1 Quality” might be “finds few bugs, often misses critical issues,” whereas “Level 5 Quality” could be “consistently finds 95% of critical bugs and mentors juniors on testing.” By defining these anchors, managers use concrete behaviors instead of vague impressions. The big win is <strong>objectivity</strong>: Indeed’s guide notes that BARS has “a higher degree of objectivity, as it compares performance against predetermined examples rather than just subjective opinion”. In practice, BARS can make feedback clearer (employees see exactly why they got that score). The downside is it’s time-consuming to create: you need detailed scales for every role and level. But in highly structured environments (like big QA teams), it can reduce confusion about ratings. For example, you might have anchored scales for “Manual Testing Skills” and “Automation Skills” in your QA framework.</li><li><strong>Competency-Based Assessment</strong> — This is popular in the CIS and elsewhere. Instead of generic evaluations, you assess a person against a predefined list of <strong>competencies</strong> (skills and behaviors) needed for the job. A competency model might include things like “Technical Knowledge — bug life cycle,” “Attention to Detail,” “Team Collaboration,” and “Process Adherence.” Employees get rated on each competency, often using a detailed rubric (which sometimes can be part of BARS). The Zenithr HR blog describes these as “structured evaluation methods focusing on performance and behaviors relative to specific job competencies”. In other words, you define exactly what good testing means (both hard skills and soft skills) and score against that. This approach ties reviews to actual required skills, which helps ensure the evaluation is fair and job-relevant. It can also highlight training needs (if someone lacks a competency, you know how to help them). However, it requires a solid competency framework — something Russian companies often build themselves. In fact, OTUS notes that CIS firms <em>start</em> with these models: HR sets up the process, but curators and managers “propose the competency models” and run the evaluations. It’s systematic, but beware: creating too many competencies can make the process heavy and bureaucratic.</li><li><strong>Predictive (Data-Driven) Evaluation</strong> — The newest and most futuristic approach involves using data analytics and AI to predict or assess performance. Instead of just looking at past data, companies can feed large datasets (bug reports, code commits, peer feedback, even questionnaire answers) into machine learning models. These models then estimate who is performing well or flag who might need help. A recent study notes that predictive analytics can shift reviews “from retrospective assessments to a more forward-looking approach,” helping forecast high-potential employees. For example, IBM uses ML on HR data to predict attrition or performance trajectories. In QA, one might use it to predict defect trends or identify testers who usually catch critical bugs. The advantage is it can reduce human bias and handle complexity. The downside is “garbage in, garbage out”: these tools need lots of accurate data, and they’re not magic — poor models can give spurious predictions. Also, employees may mistrust a “black box” system deciding their fate. Nonetheless, as workplaces adopt more digital tools, expect to see more dashboards and even AI “scorecards” for performance.</li><li><strong>Assessment Centers</strong> — This is an old-school method borrowed from selection processes. It’s rare for routine QA reviews, but some companies (especially big CIS firms) use it for promotions or senior evaluations. An assessment center is not a place but a process: you bring a group of employees and put them through exercises that simulate real work challenges. For QA, this might include a simulated incident where they have to triage bugs under time pressure, or a group discussion about improving the testing process. Multiple “raters” (often trained assessors) observe and rate performance on competencies like problem-solving, teamwork, and communication. The advantage is very rich data: it’s hands-on and can evaluate leadership and collaboration, not just technical output. It also has good face validity: participants often feel it’s fair because it’s realistic. The cons are major: it’s <strong>expensive and time-consuming</strong>. You need scenarios, a big room, and skilled observers. Because of that, assessment centers are typically reserved for high-stakes decisions (like grooming test managers or deciding between two senior QAs for a promotion).</li><li><strong>Interviews with Technical Curators (CIS context)</strong> — In many Russian and CIS companies, an “interview with a curator” is a time-honored tradition. Here, a senior technical person (often called a curator, mentor, or CGM — Competence Group Manager) personally talks with the QA specialist as part of the evaluation. Unlike a generic HR form, this is a detailed conversation about projects, tech skills, and career goals. According to one industry source, the curator’s role is crucial: they help set tasks that match the employee’s level and make sure the evaluation reflects actual skills. They also weigh in on “knowledge of technologies” and soft skills. In practice, the curator interview in the CIS often supplements other metrics. It’s like adding a subject-matter expert’s sanity check. The benefit is clear technical relevance: no checkbox says it better than a face-to-face with someone who knows the work. The drawback is subjectivity and scalability — curators might have personal biases, and not every company has time for lengthy interviews with every tester. Still, this method reflects the CIS emphasis on technical validation and individual mentoring.</li><li><strong>Quantitative &amp; Qualitative QA Metrics</strong> — Underpinning most of the above approaches is measurement. Whatever method you use, you’ll want some data on QA performance. Common <strong>quantitative metrics</strong> include things like “defects found in production (escape rate)” or “test automation coverage.” For example, <strong>defect leakage</strong> is widely cited: it’s the percentage of bugs that escape to production. (Low leakage means your tests are catching issues early.) Automation coverage — the percentage of test cases automated — is another classic. Test execution time (how long your test suite runs) is tracked by Agile teams. Time-to-fix (how long bugs take to resolve) or severity of bugs found in the wild can also be used as KPIs. A helpful rule of thumb, as TestRail reminds us: <em>“if you can’t measure it, you can’t improve it.”</em> Of course, not everything important is numeric. <strong>Qualitative metrics</strong> complement them, such as peer feedback on collaboration, or a reviewer’s assessment of a tester’s diligence. In practice, many CIS IT companies combine these: use numeric KPIs (like escape rate or automated vs manual test ratio) together with narrative input from managers and curators.</li></ul><p>In summary, the toolbox is big. A high-quality QA evaluation system often combines elements: maybe continuous check-ins (to catch issues early) plus quarterly peer feedback surveys, all tied to clear objectives and competency rubrics. Russian/CIS firms, for instance, might run annual ratings on skill checklists (with curator input) while also tracking a few test metrics. The key is to mix and match the above approaches to fit your culture and goals.</p><h3>My Approach: The Growth Matrix</h3><p>I didn’t reinvent the wheel here — instead, I took a well-known method of evaluating employees based on both <strong>hard skills</strong>(technical expertise) and <strong>soft skills</strong> (communication, teamwork, problem-solving). The real headache begins when you look across different teams: every squad uses slightly different technologies, tools, or approaches. And of course, trying to squeeze everyone into the same rigid template quickly turns into a “square peg, round hole” situation.</p><p>That’s why we came up with what I call the <strong>Growth Matrix</strong>. The idea is simple but flexible:</p><ul><li><strong>Core knowledge by level</strong> — For each job level, we define a set of must-have skills. These include both hard and soft skills, and they represent the baseline knowledge an employee should demonstrate at that stage in their career. Think of it as the “essentials pack” for a QA professional at junior, middle, or senior level.</li><li><strong>Additional skills</strong> — Everything else goes here. This category isn’t limited to day-to-day QA tasks; it also includes specialized technical expertise (like deep knowledge of a niche framework) and broader contributions to the company. Examples: supporting the company’s technical brand (speaking at conferences, writing articles), conducting interviews, or mentoring newcomers.</li></ul><blockquote>The result is a <strong>map of skills and knowledge</strong>. With this map, we can easily see where someone stands today, where they’re growing, and what might be holding them back. Even more importantly, it allows us to make promotion decisions not only based on the immediate tasks a person performs, but also on the wider impact they bring to the team and company.</blockquote><p>In short: the Growth Matrix helps us keep evaluations structured, fair, and forward-looking — while still leaving space for the individuality of each team and employee.</p><h3>Conclusion</h3><p>Performance evaluation for QA teams doesn’t have to be the corporate bogeyman it’s often made out to be. With a thoughtful mix of methods, you can turn reviews into a rewarding system that motivates rather than mortifies testers. From setting clear objectives and using 360-feedback, to involving seasoned curators in the CIS style, the options are vast — the trick is using them wisely. Remember the human element: behind every test case and bug report is a real person, not a robot (yet!). So keep feedback honest but kind, use metrics as guides (not rigid masters), and always tie reviews to growth.</p><p>In the end, think of it like testing software: you want a reliable, unbiased <em>testing framework</em> for people. Just as you wouldn’t ship code without checks, don’t treat QA staff like an afterthought. After all, as Quality Assurance professionals well know, building quality in from the start is half the battle. So let’s apply that to our own work culture: design an evaluation system that’s <strong>transparent, fair, and yes, a little human</strong>. Then sit back and enjoy the bug-free (and stress-free) ride of seeing your QA team flourish.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f7a466bac6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Great Shift: How Moving Left (and Right) Revolutionized Software Quality]]></title>
            <link>https://medium.com/@ivan.boklach/the-great-shift-how-moving-left-and-right-revolutionized-software-quality-55d02a68215e?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/55d02a68215e</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Wed, 09 Jul 2025 12:51:44 GMT</pubDate>
            <atom:updated>2025-07-09T12:51:44.417Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d-iTTCwfJmZtXluJK_pE3w.jpeg" /></figure><p>In today’s fast-paced and complex world of software development, companies worldwide are working to enhance quality and expedite delivery. As software becomes more advanced and users expect more, traditional testing methods have changed. This has led to two key approaches: <strong>Shift-Left Testing</strong> and <strong>Shift-Right Testing</strong>.</p><p>These two methods focus on different parts of the software development lifecycle (SDLC), but they work well together.</p><blockquote>Shift-Left helps catch bugs early and prevent problems, while Shift-Right focuses on testing in real-world environments and making sure everything works after release.</blockquote><p>In this article, we’ll look at where these approaches came from, how they work, how companies use them in practice, and what benefits and challenges they bring. We’ll also see how they fit into modern Agile and DevOps processes, share examples from top tech companies, and explore what the future may hold for these testing strategies. Understanding these methods isn’t just about finding bugs — it’s about building strong, flexible, and reliable software that can meet today’s digital demands.</p><h3>Shift-Left: The Early Bird Catches the Bug (and Saves a Fortune)</h3><p>Imagine a developer, bleary-eyed, hunched over a mountain of code. Suddenly, a little voice whispers, “What if we tested <em>before</em> this mess becomes a behemoth?” That, in essence, is the origin story of <strong>Shift-Left Testing</strong>. Coined by the legendary Larry Smith in 2001, this approach is all about moving testing activities to the <strong>earliest possible stages</strong> of the software development lifecycle. Think of it as a proactive bug SWAT team, tackling problems before they can even unpack their tiny bug suitcases.</p><h3>The “Why” of Shifting Left: Because Nobody Likes a Surprise Bug Party</h3><p>Why do we bother shifting left? Simple:</p><p><strong>1. Early Bird, Early Worm, Early Fix:</strong> The earlier you find a bug, the cheaper and easier it is to fix. Imagine correcting a typo in a blueprint versus demolishing a wall because the architect got the door placement wrong. Same principle, different scale.</p><p><strong>2. Faster, Fitter, Fancier Software:</strong> By nipping issues in the bud, development cycles become smoother, releases accelerate, and your software arrives on the market like a well-oiled, bug-free machine.</p><p><strong>3. Code That Sings, Not Screams:</strong> Continuous testing and feedback loops lead to higher quality code, reducing that dreaded “technical debt” that haunts developers’ dreams.</p><p><strong>4. Teamwork Makes the Dream Work:</strong> Shift-Left fosters beautiful harmony between developers, testers, and even product owners. They’re all in it together, like a well-synchronized dance troupe (minus the sequins, usually).</p><p><strong>5. CI/CD’s Best Friend:</strong> This approach is the BFF of Continuous Integration and Continuous Delivery (CI/CD) pipelines, making automated testing a natural and seamless part of the process.</p><h3>The “How” of Shifting Left: A Sneak Peek Behind the Curtain</h3><p>So, how do we actually do this magical “shifting”?</p><ul><li><strong>Requirements Review — The Detective Work:</strong> Before a single line of code is written, testers become super-sleuths, scrutinizing requirements for any inconsistencies or ambiguities. This is where those “Three Amigos” sessions come in — product owners, developers, and testers huddling together, hammering out the kinks.</li><li><strong>Test Scenario Creation — The Crystal Ball:</strong> While still in the planning phase, teams envision how the final product will be tested, creating scenarios that anticipate user interactions and potential pitfalls.</li><li><strong>Module-Level Mastery — The Developer’s Playground:</strong> Developers aren’t just coders; they’re also mini-testers, writing unit tests for their individual functions and modules. They’re like meticulous chefs tasting each ingredient before assembling the final dish.</li><li><strong>Virtualized Services — The Simulation Game:</strong> Ever wanted to test an API that isn’t built yet? Virtualized services let you do just that, simulating interactions and dependencies. It’s like having a digital twin for your not-yet-born software.</li><li><strong>Feedback, Feedback, Everywhere:</strong> Continuous feedback loops are the heart of Shift-Left. Issues are identified, ranked, and addressed with the speed of a caffeinated hummingbird.</li><li><strong>Behavior-Driven Development (BDD) — Speak the User’s Language:</strong> This agile approach encourages collaboration by defining tests in a language that everyone, technical or not, can understand. It’s like having a shared understanding of what “done” truly looks like.</li></ul><h3>The “Who” of Shifting Left: Everyone’s Invited to the Testing Party</h3><p>The beauty of Shift-Left is that it breaks down traditional silos.</p><blockquote><strong>Developers and testers</strong> become inseparable, like peanut butter and jelly.</blockquote><p>Developers are encouraged to test their code (a concept that might have caused fainting spells in the old days), leading to cleaner, more robust code. Testers, no longer relegated to the end of the line, jump in early, offering insights and even dabbling in a bit of code themselves (gasp!).</p><h3>The Tool Belt of a Shift-Left Warrior</h3><p>To wield the power of Shift-Left, you need the right tools:</p><ul><li><strong>Security Scanning Tools:</strong> SAST, DAST, IAST — these are your digital bouncers, kicking out security vulnerabilities before they can cause trouble.</li><li><strong>Quality Control Tools:</strong> Think JUnit for unit testing, code review tools to catch human errors, and static code analysis to spot potential issues before runtime.</li><li><strong>Automation &amp; Integration Tools:</strong> Jenkins, GitLab CI, Selenium, BrowserStack Automate — these are the gears and levers that make continuous testing a reality.</li></ul><h3>The Sunshine and Rainbows of Shift-Left: Benefits Galore!</h3><p><strong>Early Detection of Defects:</strong> Bugs are caught when they’re still tiny, manageable critters, not Godzilla-sized monsters rampaging through your production environment.</p><p><strong>Faster Time to Market:</strong> Fewer bugs mean fewer delays, so your software gets to users faster than a pizza delivery on a Friday night.</p><p><strong>Improved Code Quality:</strong> Your codebase becomes a masterpiece, not a tangled mess of spaghetti code.</p><p><strong>Reduced Costs:</strong> Fixing bugs early saves a ton of money. Think of it as preventative medicine for your software.</p><p><strong>Enhanced Collaboration:</strong> Developers, testers, and product owners are all on the same page, singing from the same hymn sheet (preferably in tune).</p><p><strong>CI/CD Enablement:</strong> Shift-Left makes your CI/CD pipeline purr like a happy kitten.</p><h3>The Not-So-Funny Side of Shift-Left: A Few Hairy Challenges</h3><p>As with any superhero, Shift-Left has its kryptonite. It’s not all sunshine and rainbows, folks.</p><p><strong>Increased Cognitive Load for Developers:</strong> Asking developers to be coding gurus and testing maestros simultaneously can feel like asking a chef to also be a sommelier, a waiter, and the dishwasher. If they lack testing skills, it can be a recipe for inefficiency.</p><p><strong>Resistance to Change (The “But We’ve Always Done It This Way!” Syndrome):</strong> People are creatures of habit. Convincing teams to embrace a new way of working, especially one that demands more upfront collaboration and a close relationship with TDD, can be like pulling teeth from a grumpy badger. Clear communication and highlighting long-term benefits are key here.</p><p><strong>Ineffective Feedback — The Mumbo Jumbo Menace:</strong> “Hey, something’s broken!” is not helpful feedback. Unclear, irrelevant, or non-actionable feedback can lead to frustration and wasted time, turning a promising testing cycle into a quagmire.</p><p><strong>Planning and Project Management Headaches:</strong> Implementing Shift-Left isn’t a “wing it” kind of deal. It requires meticulous planning, new techniques, and project managers who know how to weave it into their processes like a master tailor.</p><p><strong>Quality Assurance Risks During Transition:</strong> Imagine learning to juggle while riding a unicycle. That’s a bit like maintaining high-quality standards while your team is still getting the hang of Shift-Left. There’s a risk of quality dips during the training and transition phase.</p><p><strong>Developer Testability Skills — The Untrained Jedi Problem:</strong> Developers aren’t typically born with an innate ability to test from scratch. QA managers need to be like Yoda, clearly explaining the desired level of quality, performance, and operational success for developer-conducted tests.</p><p><strong>Siloed Teams — The Communication Breakdown:</strong> If development and operations teams are operating in separate universes, the rapid feedback and problem-solving crucial for Shift-Left can become a distant dream. We need bridges, not walls!</p><p><strong>Infrequent Audits — The Trust, But Verify, Problem:</strong> If your firm isn’t regularly auditing code, it’s like having a security guard who only checks the doors once a year. Frequent code audits become paramount to ensure the new testing approach is working as intended.</p><p><strong>Not a Complete Solution — The “But What About the Real World?” Dilemma:</strong> While Shift-Left is powerful, it’s not a magic bullet. It’s fantastic for catching issues early in development, but it can’t foresee every single hiccup that only appears in the wild, wild west of a production environment.</p><p>It won’t fully address those unforeseen production issues, like integration problems with real infrastructure, or performance under actual user loads.</p><p>Some problems are shy and only reveal themselves at later stages, like full-scale load testing or that final User Acceptance Testing (UAT) kiss-off.</p><p>And, crucially, it can lack direct feedback from real users about their actual experiences, interface usability (UX/UI), or which features they truly prioritize.</p><p><strong>Risk of Missing Errors — The Hidden Monster:</strong> The biggest fear is missing errors that only pop up when different modules or systems start chatting with each other. It’s like having all the individual pieces of a puzzle but discovering they don’t quite fit together when you try to assemble the whole thing.</p><h3>Shift-Right: The Brave New World of Testing in the Wild</h3><p>So, if Shift-Left is about catching bugs early, what’s Shift-Right all about? It’s the bold, audacious sibling who says, “Let’s see what happens when we unleash this baby into the real world!”</p><blockquote><strong>Shift-Right Testing</strong> focuses on testing and monitoring <strong>in production or production-like environments</strong> to ensure software reliability under actual, unpredictable conditions.</blockquote><p>It’s like giving your software a trial by fire, but with a safety net (hopefully a sturdy one!).</p><h3>The “Why” of Shifting Right: Because the Real World is a Tricky Place</h3><p>Why brave the wild west of production for testing?</p><p><strong>1. Real World, Real Problems:</strong> Development environments are often pristine, controlled ecosystems. Production? That’s where the chaos lives — real user loads, real network conditions, real data, and all sorts of unexpected interactions. Shift-Right helps you find those “only in production” bugs.</p><p><strong>2. User Journey Optimization:</strong> By observing real users, you gain invaluable insights into how they interact with your software, helping you fine-tune the user experience and iron out those little annoyances.</p><p><strong>3. Performance Under Pressure:</strong> How does your application handle 10,000 concurrent users? Or a sudden surge in traffic? Shift-Right is your performance testing playground in the wild.</p><p><strong>4. Security Fortification:</strong> Real-world attacks are far more cunning than simulated ones. Continuous security monitoring and attack simulations in production help you build a truly robust defense.</p><p><strong>5. Progressive Delivery’s Partner in Crime:</strong> For organizations practicing progressive delivery (releasing new features incrementally), Shift-Right is essential for monitoring and validating those small, controlled rollouts.</p><h3>The “How” of Shifting Right: Embrace the Unpredictable</h3><p>Shift-Right isn’t about traditional test cases. It’s about clever strategies to observe and learn:</p><ul><li><strong>User Acceptance Testing (UAT) — The Ultimate Litmus Test:</strong> This is where the actual end-users get their hands on the software in a production-like environment. If they can use it, it’s a win. If they can’t, back to the drawing board!</li><li><strong>A/B Testing — The Scientific Method of Software:</strong> Want to know which button color gets more clicks? A/B testing lets you compare different versions in a live environment, gathering real user data to make informed decisions.</li><li><strong>Synthetic Monitoring — The Robot User:</strong> Imagine a robot endlessly interacting with your application, reporting back on performance and uptime. That’s synthetic monitoring, mimicking user behavior to spot anomalies.</li><li><strong>Chaos Engineering — Embrace the Chaos! </strong>This is for the brave souls. Intentionally introducing errors or failures (like shutting down a server or messing with network latency) to test your system’s resilience. Netflix’s “Chaos Monkey” is a famous example — a tool that randomly disables instances in production to ensure the system can handle failures gracefully. It’s like throwing a wrench into the machine to see if it breaks or simply hums along.</li><li><strong>Canary Releases — The Early Warning System:</strong> Instead of releasing to everyone at once, you gradually roll out a new version to a small “canary” group of users. If problems arise, you can quickly roll back before a widespread impact. It’s like sending out a scout ahead of the main army.</li><li><strong>Blue-Green Deployment — The Seamless Switch:</strong> This involves running two identical production environments — one with the old version (blue) and one with the new (green). You gradually switch traffic to the new version, offering minimal downtime and an easy rollback if things go sideways. It’s the software equivalent of changing a tire without stopping the car.</li><li><strong>Dark Launching — The Silent Debut:</strong> Deploying a new feature but keeping it hidden from users until it’s ready for prime time. This allows you to test in a live environment without impacting user experience.</li><li><strong>Software Fault Injection Testing — The Controlled Sabotage:</strong> Intentionally introducing faults to see how your software recovers. It’s like giving your software a little poke to see if it flinches.</li><li><strong>Performance Monitoring — The Vigilant Watcher:</strong> Keeping a hawk’s eye on system behavior under real load — response times, CPU usage, memory, you name it.</li><li><strong>Continuous Security Monitoring — The Digital Guard Dog:</strong> Constantly scanning for vulnerabilities, simulating attacks, and monitoring for suspicious activity.</li><li><strong>Logging and Error Monitoring — The Digital Footprint:</strong> Tracking logs and error reports from real-world operations, with alerts to ensure rapid response to any hiccups.</li><li><strong>Real User Monitoring (RUM) — Listen to Your Users:</strong> Analyzing how actual users interact with your system to identify pain points, optimize UX, and understand feature usage. Google Analytics and Hotjar are your friends here.</li><li><strong>API Security Testing — The Traffic Cop:</strong> Tracking API traffic and outbound calls to understand behavior and detect security incidents.</li></ul><h3>The “Who” of Shifting Right: The Production Protectors</h3><p>While customers and support teams often play a role in UAT, the real heroes of Shift-Right are <strong>SRE (Site Reliability Engineering) engineers, operational teams, and monitoring specialists.</strong> These folks are the guardians of your live systems, ensuring everything runs smoothly.</p><h3>The Tool Belt of a Shift-Right Champion</h3><p><strong>Application Performance Monitoring (APM) tools:</strong> Datadog, New Relic, Grafana — these are your dashboards, giving you a real-time pulse of your application’s health.</p><p><strong>Digital Experience Monitoring (DEM) tools:</strong> RUM, Synthetic monitoring, session replay — these tools help you understand and optimize the user’s journey.</p><p><strong>Security monitoring and incident response tools:</strong> SIEM, SOAR — your digital security force.</p><p><strong>Chaos engineering tools:</strong> Chaos Monkey — for when you want to intentionally break things to make them stronger.</p><p><strong>Feature flagging tools:</strong> To enable those subtle canary releases and dark launches.</p><p><strong>Analytics tools:</strong> Google Analytics, Hotjar, Yandex.Metrica — your data scientists’ best friends.</p><p><strong>Error logging and monitoring tools:</strong> Sentry, Logstash — because every error needs a paper trail.</p><h3>The Golden Nuggets of Shift-Right: Benefits to Brag About!</h3><p><strong>Realistic User Testing:</strong> This is where the rubber meets the road. You get invaluable feedback from actual users, leading to improvements that genuinely enhance customer satisfaction.</p><p><strong>Enhanced Performance:</strong> Discover those hidden performance bottlenecks and suboptimal behaviors that only rear their heads under real-world conditions.</p><p><strong>Reduced Developmental Risk:</strong> Uncover risks, vulnerabilities, and potential issues that are simply impossible to anticipate in a simulated environment.</p><p><strong>Continuous Feedback Loop:</strong> Shift-Right fuels a continuous cycle of monitoring and improvement, ensuring issues are addressed promptly.</p><p><strong>Broader Test Coverage:</strong> You’re testing in the wild, covering scenarios that would be impossible to replicate in earlier stages.</p><p><strong>Prompt Bug Response:</strong> When bugs appear in production, you can catch and fix them quickly, minimizing their impact on your business and users.</p><p><strong>Improved Application Security:</strong> Constant monitoring and attack simulations help you build a truly secure application.</p><p><strong>Compliance with Regulations:</strong> Ensures your changes meet all the necessary legal and industry standards.</p><h3>The Gritty Realities of Shift-Right: It’s Not All Smooth Sailing</h3><p>Every hero has a weakness, and Shift-Right is no exception.</p><ul><li><strong>Increased Costs — The Price of Living on the Edge:</strong> Testing in a production-like environment often demands additional infrastructure (dedicated servers, load balancers, monitoring tools), specialized skills, and robust disaster recovery plans. It’s an investment, but hopefully one that pays off.</li><li><strong>Delayed Time to Market (Potential) — The Hesitation Game:</strong> While Shift-Right aims to accelerate releases by catching issues early in production, some organizations get cold feet. They might hesitate to deploy without extensive testing in production-like environments, ironically leading to delays. It’s a delicate balance.</li><li><strong>Complexity of Managing Testing Activities — The Juggling Act:</strong> Running tests in a live environment, with all its inherent unpredictability, can be incredibly complex. It’s like trying to juggle flaming torches while riding a unicycle on a tightrope.</li><li><strong>Limited Control Over Production Environment — The Untamed Beast:</strong> You don’t always have full control over the live production environment. This can make isolating and diagnosing issues a frustrating game of hide-and-seek.</li><li><strong>Risk of Critical Errors in Production — The Nightmare Scenario:</strong> This is the big one. The main challenge is the terrifying possibility of critical errors occurring in production, which can lead to significant financial losses, reputational damage, and a very bad day for everyone involved.</li><li><strong>Boldness and Potential for User Impact — The High-Wire Act:</strong> This approach is inherently “bold” because it puts your software directly in front of users in a live environment. If not managed with extreme care, issues can directly impact customers, leading to unhappy users and a potential PR nightmare.</li></ul><h3>The Dynamic Duo: When Shift-Left and Shift-Right Join Forces</h3><p>So, which one wins in a fight? Neither! Like Batman and Robin, Sherlock Holmes and Dr. Watson, or even your favorite coffee and a good book, <strong>Shift-Left and Shift-Right are complementary and, when combined, create a comprehensive testing framework</strong> that addresses different types of risks throughout the SDLC. They’re both critical for modern microservices architectures, where individual service responsiveness makes simulated testing a bit of a nightmare.</p><p><strong>Continuous Improvement — The Perpetual Polish:</strong> This powerful combination allows for earlier defect discovery, higher quality feedback, and faster problem resolution with less effort. It’s like having two sets of eyes constantly improving your product.</p><p><strong>Holistic Quality — The Full Picture:</strong> Shift-Left acts as your proactive shield, preventing potential errors during development. Shift-Right is your active radar, ensuring your software works flawlessly under real load and conditions. Together, they offer a truly holistic view of quality.</p><p><strong>DevOps Integration — The Seamless Flow:</strong> Both approaches are integral parts of the continuous feedback loop that defines DevOps. They support faster, more agile organizations, with Shift-Right actively integrating with DevOps and Site Reliability Engineering (SRE) practices.</p><p><strong>Bridge Building — Connecting the Dots:</strong> The secret sauce lies in establishing a bidirectional connection between Shift-Left and Shift-Right workloads. This ensures optimal use of testing resources and successful software releases. It’s about creating a unified flow, not two separate rivers.</p><p><strong>Technological Strategies — The Smart Tools:</strong> Implementing automated testing tools, static code analysis, robust monitoring and feedback mechanisms, and clever feature flag management are key to blending these approaches seamlessly.</p><p><strong>Process Refinement — The Art of Optimization:</strong> This involves early integration of tasks, a mindset of continuous improvement, and a balanced approach tailored to your project’s unique scope and complexity.</p><p><strong>Cultural Changes — The Human Element:</strong> Fostering collaboration, breaking down those pesky silos, managing change effectively, and prioritizing proactive quality assurance are essential for successfully integrating these two powerful approaches. Without the right culture, even the best tools and processes will fall flat.</p><h3>Interesting Stories from the Big Leagues</h3><p>The world of big tech is rife with tales of shifting, sometimes glorious, sometimes… a little less so.</p><p><strong>Netflix and Chaos Engineering (Shift-Right Legend):</strong> We’ve already mentioned it, but it bears repeating. Netflix is the poster child for Shift-Right with its infamous <strong>Chaos Monkey</strong>. This mischievous tool randomly terminates instances in their production environment. Why? To ensure their systems are resilient and can gracefully handle unexpected failures. It’s the ultimate “what doesn’t kill you makes you stronger” approach, and it’s a brilliant example of proactively finding weaknesses in a live system before real-world events exploit them. Imagine the initial reaction: “You want to <em>break</em> our production servers <em>on purpose</em>?” Pure genius (and a little bit insane, in the best way possible).</p><p><strong>Google’s SRE Culture (A Blend of Both):</strong> Google is a titan of software reliability, and its Site Reliability Engineering (SRE) culture embodies a deep understanding of both Shift-Left and Shift-Right. Their SREs work closely with development teams (Shift-Left) to bake reliability into the design from the start, often pushing for automated testing and robust monitoring. But once in production, they are masters of Shift-Right, using sophisticated monitoring, incident response, and post-mortems to learn from every glitch. Their philosophy is that “hope is not a strategy” when it comes to reliability — you need to actively test, monitor, and learn in the live environment.</p><p><strong>Amazon’s Microservices and Continuous Deployment (Embracing the Shift):</strong> Amazon’s massive e-commerce platform is built on a foundation of microservices and continuous deployment. This wouldn’t be possible without a strong blend of Shift-Left and Shift-Right. Developers are expected to write comprehensive unit and integration tests (Shift-Left), ensuring individual services are robust. But given the sheer scale and complexity, Shift-Right becomes critical. They rely heavily on sophisticated monitoring, A/B testing, and canary deployments to ensure new features and updates don’t break the customer experience. A small error in one microservice could cascade into a major outage, so observing behavior in production is paramount. Their motto, “two-pizza teams,” encourages small, autonomous teams that are responsible for their services from development to operation, inherently fostering both shifting mindsets.</p><p><strong>Microsoft’s Journey from Waterfall to Agile/DevOps (A Cultural Shift):</strong> Microsoft, a company with a long history of traditional software development, has undergone a massive transformation towards Agile and DevOps. This shift involved embracing both Shift-Left and Shift-Right practices. Moving from long, cumbersome release cycles to more frequent updates required developers to take on more testing responsibility, integrating unit and integration tests earlier (Shift-Left). Concurrently, they invested heavily in telemetry, monitoring, and flighting (controlled rollouts of features to specific user groups, a form of Shift-Right testing) to ensure the stability and performance of their vast array of products, from Windows to Azure. This was a monumental cultural shift, overcoming significant resistance to change.</p><h3>The Future of Shifting: AI, Machine Learning, and Beyond</h3><p>What does the future hold for Shift-Left and Shift-Right testing? Brace yourselves, because it’s going to be wild!</p><ul><li><strong>AI and Machine Learning Superpowers:</strong> Imagine AI-powered tools that can automatically generate tests based on code changes (Shift-Left), or predict potential production issues by analyzing historical data and user behavior (Shift-Right). Machine learning will make our testing smarter, faster, and more predictive.</li><li><strong>Hyper-Automation:</strong> We’re talking about even more sophisticated automation, moving beyond just test execution to intelligent test data generation, self-healing tests, and automated feedback loops that are so seamless you’ll wonder if your software is testing itself.</li><li><strong>Predictive Analytics for Production:</strong> Shift-Right will evolve to become even more proactive, using advanced analytics to predict potential failures in production <em>before</em> they impact users. Think of it as a Minority Report for your software’s health.</li><li><strong>Observability is the New Monitoring:</strong> Moving beyond just “is it working?” to “why isn’t it working, and what’s its exact state?” Observability tools will provide deeper insights into the internal workings of systems in production, making debugging and optimization a breeze.</li><li><strong>Security Shift-Everywhere:</strong> Security testing won’t just be shifted left or right; it will be integrated throughout every single stage of the SDLC, from design to deployment and beyond. Security will be baked in, not bolted on.</li><li><strong>The Rise of the “Full-Stack Quality Engineer”:</strong> As the lines blur between development, testing, and operations, we’ll see more engineers who possess a holistic understanding of quality across the entire lifecycle, capable of implementing both Shift-Left and Shift-Right strategies.</li></ul><h3>Conclusion: The Art of Balance</h3><p>In the grand tapestry of software development, both Shift-Left and Shift-Right testing play indispensable roles. Shift-Left is your diligent architect, ensuring the foundations are solid and the blueprints are flawless. Shift-Right is your intrepid explorer, venturing into the unknown of the real world to ensure your masterpiece withstands the elements and delights its inhabitants.</p><p>Striking the perfect balance between these two approaches is the key to unlocking true software quality. It’s about being proactive and reactive, preventing errors and learning from live experiences. So, the next time you marvel at a seamlessly working application, remember the unsung heroes of Shift-Left and Shift-Right, tirelessly working behind the scenes to ensure your digital world runs smoothly. And who knows, maybe with a little humor, we can make software testing a slightly less daunting (and more enjoyable!) adventure for everyone.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55d02a68215e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Apple of Their Eye: How the Tech Giant Tests Its Magical Gadgets and Software]]></title>
            <link>https://medium.com/@ivan.boklach/the-apple-of-their-eye-how-the-tech-giant-tests-its-magical-gadgets-and-software-5befe205675e?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/5befe205675e</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Wed, 11 Jun 2025 07:42:26 GMT</pubDate>
            <atom:updated>2025-06-11T07:42:26.164Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vxjeeC-1ygK65nDQ_TjGpg.jpeg" /></figure><p>Alright, tech lovers and fellow quality fanatics! You’ve heard about the testing magic at Google, the Netflix sagas, and Spotify’s sound checks. Now, let’s pull back the curtain on the most super-secret tech company out there: Apple. Getting a peek inside Cupertino is usually harder than finding a floppy drive on a new Mac, but we’ve got some inside info. Forget the whispers and secret cloaks; today, we’re discussing how Apple ensures your favorite iDevice not only works, but works <em>like magic</em>, from brutal drop tests to innovative software updates. And yes, we’ll try to keep it fun!</p><p>Apple’s obsession with quality isn’t just a fancy phrase; it’s how they build everything. They don’t just “test”; they build testing into every single step of making a product. Think of it as a never-ending hunt for perfection, turning simple materials into polished gadgets. They aren’t just checking boxes; they’re trying to break stuff before you even get a chance to. And trust me, they try hard.</p><p>We’re going to delve into this quality adventure in two major parts: the rough-and-tumble physical ordeal of hardware testing (where robots reign supreme and devices are put through their paces) and the intricate, constantly evolving dance of software testing (where code battles bugs in a never-ending battle). Finally, we’ll glimpse into Apple’s testing culture, a bit of history, and what’s next.</p><h3>Part 1: Tough Stuff — How Apple Builds Super Strong Devices</h3><p>Imagine your new gadget isn’t born perfect. Instead, it’s put through a brutal bootcamp of controlled destruction. Welcome to Apple’s hardware testing labs. This isn’t just checking if it turns on; this is a full-contact sport for electronics.</p><p>An Apple device’s journey, from a glimmer in a designer’s eye to your pocket, is a carefully planned dance of prototypes. Each step makes it better (and less likely to fall apart).</p><h3>From Sketch to First Try: The Prototype Journey</h3><p>It all begins with an idea, usually shown as a design mock-up. These aren’t working models, just the outer shells, to show off the design. They’re like supermodels with no brains — all looks, no smarts. Fun fact: in the big 2012 lawsuit with Samsung, some really early iPhone mock-ups, made of simple plastic instead of the sleek metal and glass, were revealed. Apple accidentally showed us how raw their early ideas could be!</p><p>Once the design is locked in, the tough part starts. Apple has special drop-testing rooms with slow-motion cameras (to see every tiny crack) and specialized robots. These robots are cold-hearted device destroyers.</p><ul><li>Drop Tests: Devices are basically tossed around from different heights and angles, sent tumbling down tubes with obstacles, and even soaked in water. Every crack, dent, and splash is recorded. They even take crime-scene photos to see the damage. It’s like a CSI episode, but for phones! They repeat this process with tweaks until the device can handle a good beating.</li></ul><p>Next come the Proto units. These are the <em>first</em> tries at making a working device. They might look different from the final product, with weird ports or internal parts. This makes them super rare for collectors! These early units get tons of testing for how they work and how tough they are. Often, they run a special, secret version of iOS called “NonUI iOS,” which is just for engineers to check the hardware.</p><p>Then it’s on to EVT (Engineering Validation Testing), where they perfect the hardware. Sometimes, if a major problem pops up later, they might even go back to this stage! EVT prototypes can have noticeable design differences from the final version. Remember “Project Bongo”? Those were iPhone 15 Pro prototypes with haptic buttons that didn’t cut. These also run the secretive NonUI iOS.</p><p>The DVT (Design Validation Testing) stage is about making sure the design works and has no flaws. DVT devices look almost identical to the final products. These are the ones sent to places like the FCC for government checks and to phone companies for network testing. They might run “InternalUI” (a more advanced internal OS) or NonUI iOS.</p><p>Finally, PVT (Production Validation Testing) is the last step for the design. PVT prototypes are the final product. The goal here is to make sure the factories can build millions of them perfectly. These also run NonUI iOS.</p><p>And then comes MP (Mass Production). Millions of units are made for sale. But even these go through a final hardware test before shipping. They start with NonUI iOS for testing, then get the normal iOS before heading out the door. Devices that fail are tossed aside — poor little gadgets!</p><h3>The Torture Chamber: Reliability Labs</h3><p>Beyond these steps, Apple has special reliability labs, like the famous one in Cork, Ireland. This isn’t a spa; it’s a device torture chamber where years of wear and tear happen in just days. Devices face insane impacts, extreme heat (149°F ovens!) and cold (-4°F blasts!), shaking, humidity, radiation, and even chemicals.</p><blockquote><em>Machines mimic the absolute worst human interactions: constantly pulling charging cables, tapping screens with sweaty fingers, jamming power plugs, and blasting ports with super-fine sand.</em></blockquote><p>Apple’s stress tests go way beyond what others do, even dropping phones on wood, asphalt, and granite. If a device breaks, engineers use X-rays, CT scans, and electron microscopes to figure out why. It’s like a phone autopsy!</p><h3>Materials Matter: What Your Gadget is Made Of</h3><p>Apple also cares deeply about the materials in its products. They carefully choose materials to be safe for workers, customers, and even recyclers. They’ve removed harmful stuff like mercury and arsenic.</p><p>They use a system called Full Material Disclosure (FMD), where suppliers tell Apple every chemical in their parts. Then, Apple’s toxicologists check these chemicals for safety. Materials are tested heavily, even checking how much stuff can leach onto your skin (super important for Apple Watch!). Their labs have tons of fancy tools for this. They want to make sure your new gadget isn’t secretly poisoning you.</p><h3>Part 2: The Digital Dance — Or, Finding and Squashing Bugs in iOS</h3><p>If hardware testing is about brute force and tiny details, software testing at Apple is a fast, never-ending, and super-secret dance of code, updates, and user feedback. While other big tech companies chat openly about their quality checks, Apple keeps things very quiet. Finding details about their QA is like trying to find a mythical creature — super rare.</p><h3>The Old Ways: The Apple New Product Process (ANPP)</h3><p>Historically, Apple’s journey began with the Apple New Product Process (ANPP) back in the late 1970s/early 1980s. This wasn’t a casual meeting; it was a highly structured process, like a giant checklist for every single employee in every department, from hardware to software. This detailed plan helped them find problems early. Even though it wasn’t just about software, ANPP set the stage for a disciplined approach to quality.</p><h3>The New Ways: Software That Never Stops Moving</h3><p>Apple’s modern way of testing software, especially for businesses, is “proactive, nimble, and perpetual.” This means they don’t just do one big test before a release; they update software many times a year, making testing a year-round job. They check every single beta version. For big companies using Apple devices, they have a four-step process for each beta release:</p><ol><li>Get Ready: They put together special teams and ask employees to volunteer to test beta software on their main devices (brave souls!). Programs like “AppleSeed for IT” give companies access to early software and tools to report issues.</li><li>Check Everything: They map out their company’s tech setup — email systems, networks, other apps. They list what they need to test and what’s most important. App developers then test their apps on the beta software.</li><li>Give Feedback: This is vital. Apple uses a tool called Feedback Assistant (an app and website) for users and companies to report bugs and suggest improvements. Apple really pushes for detailed reports, with screenshots and videos. Reports from businesses get higher priority. They also work with other tech companies to make sure everything works together.</li><li>Prepare for Launch: After the public release, they make sure it’s good to go for their systems. They can even delay updates for a few months if needed. Then, they tell employees about new features.</li></ol><h3>What Kinds of Software Tests?</h3><p>Apple tests all sorts of things to make sure the software is great:</p><ul><li>Functionality: Does it do what it’s supposed to?</li><li>Usability: Is it easy to use? (Steve Jobs cared a lot about this.)</li><li>Accessibility: Can <em>everyone</em> use it, including people with disabilities? This is super important, but sometimes there are still issues.</li><li>Compatibility: Does it work with all different devices, apps, and systems?</li><li>Performance: Is it fast and doesn’t crash under heavy use?</li><li>Security: Is it safe from hackers? (They even pay people to find weaknesses!)</li><li>Integration: Do all the different parts of the software work together smoothly?</li><li>Updates: Does it handle new software versions well?</li><li>Battery/Memory Use: Does it drain your battery or use too much memory?</li></ul><h3>A Common Problem: Accessibility Concerns</h3><p>While Apple prides itself on making technology for everyone (like VoiceOver, a tool for blind users), some groups, like the National Federation of the Blind (NFB) in 2016, have said that testing for accessibility sometimes falls short in new updates. This can lead to bugs that make it hard for blind users to use their devices, and sometimes their feedback during beta testing isn’t fully fixed before public release. It’s a reminder that even the best companies can miss things.</p><h3>Quality Management: Lean Sigma and Total Quality</h3><p>Apple uses serious quality methods like Lean Sigma and Total Quality Management (TQM). Their goal: “zero defects and 100% happy customers.” This means always getting better, cutting down waste, and using a system to define, measure, analyze, improve, and control things. They also carefully check their suppliers to make sure they’re delivering quality parts. It’s like a super-tuned machine, always aiming for perfection.</p><h3>Part 3: The Secret Sauce — Culture, Tools, and What’s Next</h3><p>Beyond the actual tests, Apple’s commitment to quality is deeply baked into its culture, shaped by its past, and always changing with new challenges.</p><h3>The Tools: What Apple Engineers Use</h3><p>Apple engineers have a ton of tools to fight bugs:</p><ul><li>Hardware tools: Special test stations, those crazy drop-test robots, and advanced lab equipment for analyzing materials (like X-ray machines and microscopes).</li><li>Software tools (for outside): TestFlight for app beta testing, Feedback Assistant (the app for bug reports), and Apple Developer Programs for beta access. Tools to manage software updates for big companies are also key.</li><li>Internal tools:</li></ul><h3>The Spirit of Steve Jobs: Apple’s Culture</h3><p>Apple’s culture has always been driven by design, with designers having a huge say. And then there was Steve Jobs. He was deeply involved in every product, famously showing up at demos all the time. He pushed for clear visions (like “the fastest browser!”) and stressed focus and simplicity. He often cut features (like copy/paste in the <em>first</em> iPhone!) to make sure the main experience was perfect and deadlines were met. He’d evaluate products by thinking like a customer: “Would <em>I</em> use this? Is this <em>insanely great</em>?”</p><p>The idea of the Directly Responsible Individual (DRI) meant specific people were in charge of parts of a product. If something went wrong, Steve knew exactly who to talk to. Teamwork, often with friendly rivalry between engineers and designers, was also key. Sometimes, they’d go all-in on one big problem, like when they focused a whole team on making the iPhone keyboard perfect.</p><p>A big part of their culture is “eating your dog food”: Apple employees use unreleased products every day to find issues that labs might miss. Imagine a campus full of people with slightly buggy, secret iPhones, finding problems on their morning commute.</p><p>While they do a lot of manual testing, they also use automated tests. There are dedicated teams for different product areas. And then there are the Bug Review Board (BRB) meetings, where engineers and managers discuss and rank bugs. A “P1” bug is a showstopper — it <em>has</em> to be fixed. They also use bug bounty programs to pay security experts to find weaknesses before hackers do.</p><p>Ultimately, at Apple, quality is everyone’s job; it’s seen as “another ‘feature’ of the product.”</p><h3>The Big Question: Has Quality Slipped?</h3><p>Despite all these intense processes, some users and discussions suggest that Apple’s software quality has felt like it’s getting worse in recent years, with more bugs. This is often blamed on the huge pressure to release new features every year, a feeling that bug fixing isn’t always top priority, and issues within their internal IT groups. It’s a tough balance: new stuff versus rock-solid stability.</p><h3>The Future: Quality Culture Initiative (QCI) and Beyond</h3><p>Apple knows about these challenges. Around 2018, they started the Quality Culture Initiative (QCI). This was a big push to make quality a stronger part of the company culture. They wanted to move away from just testing the final look and feel (UI tests) to more basic tests (like unit testing). The QCI aimed to fix problems like tools not keeping up with growth, deadline pressure, and maybe a bit of pride from being “the best.”</p><p>The QCI focused on three main things: teaching new skills, getting teams aligned, and making quality efforts visible (they even had an internal podcast about software quality!).</p><blockquote><em>Their motto was “focus and simplify.”</em></blockquote><p>The famous “goto fail” bug from 2014, a major security flaw, was even used as an example of something that could have been prevented with better unit testing.</p><p>Looking ahead, Apple’s testing future seems to be about building on these efforts:</p><ul><li>More QCI: A continued push for a stronger quality culture and better basic testing methods, especially unit testing.</li><li>AI and Data: More use of AI and data analysis to spot problems, diagnose issues, and link them back to specific parts or suppliers. Imagine AI automatically flagging bad screens before they even leave the factory.</li><li>Continuous Testing: A “proactive, nimble, and perpetual” approach to testing and updates, focusing on always integrating and improving quality.</li><li>More Automation: Investing more in automating tests, especially for things like online store user experience.</li><li>Listening to Feedback: A constant effort to make software more stable and fix specific issues, especially accessibility, based on what users and advocacy groups say.</li></ul><h3>Conclusion: The Never-Ending Quest for Perfection</h3><p>So there you have it: a trip through the tough, secret, and sometimes funny world of testing at Apple. From robots dropping devices to engineers analyzing sweat, and from old checklists to constant beta testing, Apple’s hunt for quality never stops.</p><p>While they face challenges, like balancing new features with stable software, their deep commitment to “quality as a feature” remains. The Quality Culture Initiative shows they’re always trying to get better, pushing for deeper and more efficient testing.</p><blockquote><em>In a world where technology is a part of our lives, Apple works hard to make its products not just work, but be reliable, safe, and, dare we say, magical. And behind every smooth swipe and crisp photo, there’s a team of testers, robots, and even AI, working tirelessly to make sure your Apple product truly shines. And sometimes, they even get a little sweaty doing it.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5befe205675e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From “Oh No!” to “Go Go Go!”: The Hilarious History of How Google Learned to Test.]]></title>
            <link>https://medium.com/@ivan.boklach/from-oh-no-to-go-go-go-the-hilarious-history-of-how-google-learned-to-test-3c0a3360f761?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c0a3360f761</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Wed, 04 Jun 2025 08:40:10 GMT</pubDate>
            <atom:updated>2025-06-04T08:40:10.674Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*SWmWBPVD4D5gnLVm1jeGgg.jpeg" /></figure><p>Having previously explored the testing landscapes of other major tech companies, I now turn my attention to Google, a name synonymous with innovation and scale. One might assume that a company of Google’s stature had a perfect, well-oiled testing machine from day one. However, the reality, as I’ve discovered, is a testament to continuous adaptation and a profound cultural shift. This article delves into the fascinating evolution of testing within Google, from its early, challenging days to its current state of hyper-automated, developer-centric quality assurance. I’ll examine the pivotal moments that redefined their approach, the ingenious technologies and unique methodologies they’ve developed, the formidable obstacles they’ve overcome, and some of the more intriguing stories from their journey to ensure software quality at an unprecedented scale.</p><p>When one considers Google, images of ubiquitous search, groundbreaking self-driving vehicles, or perhaps even moments of personal curiosity (like searching for “fluffy kittens wearing tiny hats”) often come to mind. Yet, beneath this digital innovation lies a crucial element that ensures functionality: testing. The path to establishing robust testing practices at Google was not an instantaneous discovery, but rather a significant evolution, often marked by challenges and the realization of necessary improvements.</p><h3>The Wild West of Code: When Google.com Was a Rollercoaster of Bugs (Circa 2005)</h3><p>Imagine a time, not so long ago, when deploying code to <a href="http://google.com/">Google.com</a> was like playing a high-stakes game of Jenga. One wrong move, and BAM! Search results would go wonky, pages would load slower than a dial-up connection, and the collective groan of millions of users would echo across the digital landscape. Sounds like a nightmare, right? Around 2005, for the Google Web Server (GWS) team, this was their daily reality.</p><p>These poor souls, tasked with keeping the Google homepage and a myriad of other web pages humming, faced a cocktail of chaos. Builds and tests took eons, code would sneak into production without so much as a quick peek, and different teams were developing independently, leading to conflicts that made sibling squabbles look like polite disagreements. The consequences were real: incorrect search results, sluggish performance, and the terrifying prospect of losing revenue and user trust. The development team was gripped by fear. Newbies were terrified of touching anything, and seasoned veterans? They understood the risks <em>too</em> well, their faces probably etched with the permanent worry lines of a seasoned tightrope walker.</p><p>Enter Mike Bland and Bharat Mediratta, a dynamic duo determined to wrangle this beast. Bharat, the GWS team lead, had a radical idea: automated testing would be their knight in shining armor. And thus, a strict, almost religious, policy was born: no changes accepted without automated tests. They built a continuous build system that was diligently maintained, and tests. They were religiously (and I mean <em>religiously</em>) ensured to pass. They even started monitoring test coverage, striving to increase it like a gamer chasing a high score. Policies and guidelines were developed and enforced with the strictness of a librarian in a quiet zone.</p><p>And the results? Striking! The GWS team transformed into a productivity powerhouse. They were integrating a tidal wave of changes weekly while maintaining rapid releases. New team members, once paralyzed by fear, could now contribute productively, thanks to the glorious safety net of good test coverage and healthy code. This radical shift didn’t just save the GWS team; it allowed <a href="http://google.com/">Google.com</a>’s homepage to expand faster than a balloon at a birthday party, thriving in a hyper-competitive tech world.</p><h3>Spreading the Gospel of GWS: The Testing Grouplet and the Toilet Tales</h3><p>The GWS team’s success was like a delicious secret too good to keep. This relatively small team had stumbled upon the elixir of efficient software development, and they knew it needed to be shared. Thus, in 2005, the Testing Grouplet was born — an informal band of engineers on a mission to elevate automated testing standards across the entire Google empire.</p><p>For the next five years, these testing evangelists actively propagated this culture. And how did they do it? Well, they were certainly creative. Imagine this: you’re doing your business in the restroom, and there, staring back at you from the stall wall, is a newsletter titled “Testing on the Toilet.” Yes, you read that right. Starting in 2007, this quirky, yet incredibly effective, publication delivered bite-sized testing wisdom right where engineers couldn’t escape it. Genius, right?</p><p>Beyond the toilet humor, they also launched serious initiatives. The Test Certified program provided a roadmap and certification process for teams aiming for testing excellence. And for those teams stuck in a testing rut, they organized “fix-it” days — intensive improvement sessions where the Grouplet would roll up their sleeves and help teams whip their automated testing processes into shape. It was like a testing boot camp, but with more pizza and fewer push-ups.</p><p>This era, wonderfully documented in the book “How Google Tests Software,” explained <em>why</em> Google needed to change its testing ways and <em>how</em> they pulled it off. A fundamental principle emerged, one that became the bedrock of Google’s testing philosophy: responsibility for quality rests with the entire team, especially those who write the code.</p><blockquote><em>Testing wasn’t some separate, mystical art; it was an integral part of the development process itself.</em></blockquote><p>Google believed that the developer who wrote the code was often the best person to test it, as they were the ones most invested in squashing those pesky bugs. It’s like baking a cake — you wouldn’t hand it off to a stranger to taste-test until you’ve already had a nibble yourself, right?</p><h3>The Centralized Kingdom: When Testers Were the Rockstars (and Had Their Management Chain!)</h3><p>Initially, Google embraced a centralized testing organization. This was a savvy move, giving testing a visible platform, fostering resource sharing, and providing the critical mass needed to shout “QUALITY!” at Google’s ever-growing scale. During this golden age, specific testing roles were formalized, as detailed in “How Google Tests Software.”</p><p>We had the Software Engineer in Test (SET). These folks were the architects of testability, the master builders of testing infrastructure. They’d analyze code architecture, sniff out project risks, refactor code to make it testable (a true superpower!), and crank out unit testing frameworks and automation tools. SETs were basically developers with a laser focus on making sure code was ready for its close-up. They needed strong technical skills, on par with their developer brethren, because they were deeply embedding testing into the codebase. You could say they were the ninjas of code quality.</p><p>Then there were the Test Engineers (TEs). While SETs were deep in the code trenches, TEs were the champions of the user experience. They were the ones conducting manual testing, ensuring the product felt right, looked right, and behaved exactly as a user would expect. They focused on the “human side” of interaction, but don’t let that fool you — TEs were also expected to contribute code and tools, and, of course, automate those manual tests whenever possible.</p><p>A crucial strategic move was placing this centralized testing role under its management chain. This was like giving testing its own VIP section at the company party, ensuring it was taken seriously and never relegated to “second-class citizen” status. It was a clear declaration: “Testing matters, and we’re putting our money (and management structure) where our mouth is!”</p><h3>The Great Shift: From Centralized Command to Developer Power!</h3><p>But, as with all things in the ever-evolving tech world, change was inevitable. Google learned a vital lesson: relying <em>solely</em> on testing, while powerful, wasn’t the whole story. It was just one ingredient in a grand recipe for quality that also included continuous builds, centralized test infrastructure, and rigorous code reviews.</p><p>The philosophy began to pivot. The primary responsibility for quality shifted to the very people who wrote the code: the developers themselves (or Software Engineers, SWEs in Googlespeak). The new mantra?</p><blockquote><em>Quality isn’t achieved by testing alone; it’s by merging development and testing until they become a single, indistinguishable entity.</em></blockquote><p>Developers started writing a massive amount of test code, especially for unit testing, becoming the ultimate guardians of their own code’s quality.</p><p>This commitment was famously encapsulated by the “Beyoncé Rule”: “If you liked it, you should have put a test on it.” It was a catchy, memorable way to drive home the point: if you’re proud of your code, prove it with automated tests. Automated tests became the invisible force field that allowed software to change with confidence, preventing developers from holding their breath every time they hit “deploy.” Google firmly believed that the developer who wrote the code was often best positioned to test it, as they had the most skin in the game for bug-free results.</p><p>Now, you might be wondering, what happened to that centralized testing organization? Well, it got a bit… <em>too</em> big. Testers started identifying more with their testing discipline than with the actual products they were working on. This was deemed “unhealthy” (and probably led to some existential crises among testers wondering if they were more “tester” than “Googler”). This prompted a major transformation: a shift from a centralized model to a distributed test model, where testers (now often called SETIs — Software Engineers, Tools &amp; Infrastructure — and still TEs) reported directly to their development managers. As a quality-oriented developer culture matured, the need for a separate Engineering Productivity organization naturally diminished.</p><h3>The Modern Marvel: Testing at Hyperscale</h3><p>Fast forward to today, and testing at Google is nothing short of a modern marvel. It’s characterized by two colossal words: massive scale and automation. We’re talking millions of individual tests running continuously, with an astounding 150 million test executions per day distributed across a compute farm so vast it probably has its zip code. There’s virtually no time for traditional, manual Quality Assurance as we know it.</p><p>Almost all testing is automated, integrated seamlessly into Continuous Integration and Continuous Delivery pipelines. This relentless automation is the engine that drives continuous delivery at Google. Tests run both before and after code submissions, creating a double-layered safety net. And Google keeps extensive records of test results and change information, creating a forensic trail of code quality for two whole years.</p><h3>The Google Testing Toolbox: Not Just Hammers and Screwdrivers</h3><p>When you’re building software for billions, off-the-shelf tools often don’t cut it. So, Google, in its infinite wisdom, builds a lot of its own. But they’re not afraid to dance with open source either.</p><ul><li>Internal Super-Tools: Imagine a hyper-efficient test orchestration system that decides <em>which</em> tests to run for <em>which</em> code changes, based on a deep understanding of code dependencies and historical data. That’s the kind of magic happening behind the scenes. These internal systems are designed to manage the sheer volume and complexity of Google’s codebase, ensuring that even a tiny change in one corner doesn’t unexpectedly break something huge across the globe.</li><li>Static Analysis with Tricorder: Tricorder is a platform bristling with over 100 analyzers, many of them custom-built by Google engineers. It’s like having a hyper-vigilant librarian scrutinizing every line of code before it even thinks about getting compiled, catching bugs, security vulnerabilities, and bad practices early. It’s integrated directly into the developer’s workflow, especially during code reviews. Think of it as a helpful peer reviewer who never sleeps.</li><li>Presubmits: The Bouncers of Code: Before a developer can commit their code, it often has to pass a gauntlet of automated checks called presubmits. These aren’t just polite suggestions; they are blockers. If your code triggers a presubmit failure, your commit isn’t going anywhere. It’s like a bouncer at an exclusive club, ensuring only the most well-behaved code gets in. These include linting, basic test runs, and often, static analysis checks.</li><li>Mobile Device Farm: For the vast world of Android and iOS, Google runs a colossal Mobile Device Farm. We’re talking tens of thousands of real physical devices, running millions of tests daily. This isn’t emulation; it’s the real deal, ensuring that Google’s mobile apps work flawlessly across the bewildering variety of devices in the wild. If you’ve ever had an app crash on your specific phone model, you know why this is crucial.</li><li>Open Source Allies: While much is internal, Google also plays nice with the open-source community. They are massive contributors to and users of tools like Selenium. Other familiar names in their testing toolkit include JUnit and TestNG for Java unit testing. Google Test (gtest) for C++ unit and integration testing (which they developed and open-sourced, naturally). Appium for mobile application testing (often alongside their internal device farm).</li></ul><h3>Approaches and Philosophies: The Art of the Test</h3><p>It’s not just about the tools; it’s about how you use them. Google’s testing philosophy is deeply ingrained in its engineering culture:</p><ul><li>Test Sizes: Small, Medium, Large: Google categorizes tests not just by their code size, but by their <em>scope and dependencies</em>.Small Tests (Unit Tests): These are the fastest, most isolated tests. They test a tiny piece of code, a single function or method, without hitting the network, disk, or external systems. They’re like checking if a single gear in a watch works. They are run constantly, providing immediate feedback. Medium Tests (Integration Tests): These connect a few components, testing interactions between two services or a service and a database. They might touch the disk, but usually avoid external network calls. Think of checking if a few gears in the watch mesh correctly. Large Tests (End-to-End/System Tests): These are the slow, complex beasts that test the entire system, often hitting live services, databases, and the network. They’re like checking if the entire watch tells time accurately. These are run less frequently but are crucial for overall system health.</li><li>Continuous Feedback Loops: Tests run not just <em>after</em> a code commit, but often <em>before</em> (via those “presubits”). This tight feedback loop means developers know almost instantly if their change broke something. It’s like having a guardian angel whispering “Nope, not yet!” as you try to push bad code.</li><li>The “Beyoncé Rule” (Again!): Seriously, this isn’t just a catchy phrase; it’s a foundational belief. Developers are empowered and expected to write tests for their code. It’s about prevention, not just detection. If you write code, you own its quality, and that includes proving it works.</li><li>Data-Driven Decisions: Google keeps extensive records of test results and change information (available for a whopping 2 years!). This treasure trove of data is analyzed to predict test outcomes (tools like “Greenish”), optimize test execution, and pinpoint problematic areas.</li><li>The Battle Against Flaky Tests: Even in this automated paradise, there’s a formidable foe: flaky tests. These are the maddening tests that sometimes pass, sometimes fail, even when the underlying code hasn’t changed. They’re a significant headache, affecting nearly 16% of tests, potentially blocking releases, and wasting precious computing resources. The battle against flakiness is ongoing, with deep analysis of test results to pinpoint the sources of these frustrating intermittent failures. It’s like trying to catch a greased pig — frustrating, but essential. Sometimes it’s race conditions, sometimes it’s environmental factors, sometimes it’s just pure cosmic malevolence.</li></ul><h3>The Google Paradox: Ship Fast, Break Less</h3><p>Google prefers to release products frequently, eager to get them into users’ hands for feedback as quickly as possible. This might sound counterintuitive to a rigorous testing culture, but it’s not. It’s the <em>automated testing</em> that <em>enables</em> this rapid release cadence. Because they have such robust, automated safety nets, they can confidently push changes without fearing a catastrophic collapse.</p><p>Ultimately, Google’s success story is deeply intertwined with its testing evolution. They became the Google we know today because they were exceptional testers, allowing them to create products at internet scale with mind-boggling speed. The focus remains steadfast: building a strong engineering culture that deeply values quality, embraces continuous learning, and never stops striving for improvement.</p><blockquote><em>So, the next time you effortlessly search for “how to make a soufflé without it deflating” (good luck with that, by the way), remember the epic journey of testing at Google — a tale of challenges, humor, innovation, cutting-edge tech, and an unwavering commitment to making sure the digital world keeps spinning, bug-free (mostly!). They truly learned to “test, and test, and test again!”</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c0a3360f761" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating the Matrix: Unpacking the Wild, Wired World of Tesla’s Autopilot Testing]]></title>
            <link>https://medium.com/@ivan.boklach/navigating-the-matrix-unpacking-the-wild-wired-world-of-teslas-autopilot-testing-ff880df7ce39?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff880df7ce39</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Wed, 28 May 2025 05:26:52 GMT</pubDate>
            <atom:updated>2025-05-28T05:26:52.094Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P3bdNEqHAGE9lhZ7bc7fMw.jpeg" /></figure><p>Welcome back to my ongoing series exploring the fascinating world of software testing within tech giants! I’ve already pulled back the curtain on how companies like <strong>Netflix</strong> keep their streaming seamless and <strong>Spotify</strong> ensures your music never misses a beat. Each company, as I’ve shown, tailors its testing philosophy to its unique product.</p><p>But now, prepare for a paradigm shift. Today, I’m not just talking about apps or cloud services. I’m stepping into the high-stakes, wild-west frontier of <strong>Tesla’s Autopilot testing</strong>. If you thought traditional QA was complex, imagine a testing environment where the “bugs” can involve split-second decisions on real roads, with real lives at stake.</p><p>Tesla’s approach to quality assurance isn’t just different; it often feels like it operates on another planet entirely. While most companies focus on preventing regressions in their user interface or backend databases, Tesla is constantly trying to teach a car to “see,” “think,” and “react” in a world of infinite variables. Their testing isn’t just about finding flaws in code; it’s about pushing the boundaries of artificial intelligence, leveraging a massive fleet of customer cars as silent, data-gathering agents, and building bespoke supercomputers to simulate chaos.</p><p>Forget everything you thought you knew about software testing. With Tesla, I’m navigating a matrix of code, data, and real-world unpredictability, constantly pushing the limits of what an autonomous system can achieve. Let’s buckle up and dive into their unique, audacious, and utterly captivating testing methodology.</p><p>So, you’ve seen the videos. That shiny electric chariot, silently gliding through traffic, seemingly driven by an invisible hand. “Autopilot,” they call it, or more recently, “Full Self-Driving Beta.” It’s the kind of tech that makes you wonder if we’re living in a sci-fi movie, or just a very ambitious beta program. But behind every smooth lane change lies an absolute mountain of code, and behind that code? An even bigger mountain of testing. And let me tell you, testing an autonomous vehicle is less like quality assurance and more like trying to teach a supercomputer to safely navigate a world built by monkeys, for monkeys. It’s glorious, frustrating, and endlessly fascinating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sLDB7xndrFNXV6dYcTw0eA.jpeg" /></figure><h3>Part 1: The Wild West of Autonomy — A Brief History &amp; The Headache of Testing</h3><p>The dream of self-driving cars isn’t new. From sci-fi to concept cars, the idea of an automotive companion has been a recurring fantasy. By the early 2010s, it wasn’t just sci-fi anymore. Google (now Waymo) kicked off its project, and then came Tesla, promising not just electric cars, but cars that would drive themselves.</p><p>Tesla’s Autopilot, initially an Advanced Driver-Assistance System (ADAS), was revolutionary. It introduced adaptive cruise control and lane keeping that felt genuinely futuristic. But as the ambition grew to Full Self-Driving (FSD), so did the complexity, and with it, the truly mind-bending challenge of testing.</p><p>Why is Testing an Autopilot Harder Than Herding Cats on Roller Skates?</p><p>Building a car brain is infinitely harder than building a regular car. This brain has to:</p><ol><li>Perceive Infinite Chaos: The real world is a messy, unpredictable soup of rogue pedestrians, phantom potholes, sudden downpours, sun glare, and other drivers who seemingly obtained their licenses from a cereal box. Testing for every single one of these “edge cases” — those incredibly rare but potentially catastrophic scenarios is impossible to do exhaustively.</li><li>Predict the Unpredictable (Especially Humans): Humans are notoriously bad at predicting other humans. Now ask a computer to do it. This isn’t just about recognizing objects; it’s about predicting intent and movement. It’s playing 4D chess with reality, where the opponent is often irrational.</li><li>Make Life-or-Death Decisions in Milliseconds: If a crash is unavoidable, what’s the “right” decision? These are the infamous “trolley problem” scenarios played out at high speed. Testing for these ethical dilemmas is a philosophical nightmare dressed as a software bug.</li><li>Deal with Weather Gods and Sun’s Glare: Autonomous vehicles rely on sensors (cameras, radar, lidar) that get confused by fog, blinded by direct sunlight, or rendered useless by heavy rain and snow. Testing for every permutation of weather and lighting is a complex puzzle.</li><li>Regulatory Whack-a-Mole: Laws and regulations for autonomous vehicles are still in their infancy, evolving constantly. Testing has to keep up with a constantly moving legal target, which is like trying to hit a bullseye on a dartboard that’s also on a merry-go-round.</li></ol><h3>Part 2: The Battleground — General Approaches to Autopilot Testing</h3><p>Engineers have developed a few key strategies to tackle the beast of autonomous vehicle testing:</p><ol><li>The Digital Sandbox: Simulation (SIL — Software-in-the-Loop): This is where the self-driving software ‘drives’ through highly detailed, digitally created worlds. It’s fast, safe, reproducible, and excellent for generating extreme edge cases. The catch is that simulations are only as good as their models; the real world always finds a way to surprise you.</li><li>The Hybrid Beast: Hardware-in-the-Loop (HIL): This involves hooking the car’s actual computer brain to a simulated world. The brain thinks it’s getting real-time data from actual sensors, but it’s all digital. This tests how the actual hardware performs and interacts with the software, catching bugs that only manifest when software meets silicon.</li><li>The Data Hoarders: Real-World Data Collection &amp; Annotation: Autonomous vehicles are data-hungry. This involves collecting vast amounts of video and sensor data from cars driving around the globe. This raw data is then painstakingly “annotated” (labeled) by humans or AI, feeding the neural networks that power the self-driving system. The more diverse and accurate the data, the smarter the AI becomes.</li><li>The Rubber Meets the Road: Real-World Testing &amp; Proving Grounds: Eventually, the software needs to prove itself in the messy, unpredictable real world. This involves driving on closed courses (proving grounds) for dangerous scenarios, and crucially, on public roads. No simulation can capture the full spectrum of real-world complexity.</li><li>The Fuzzy Numbers Game: Safety Metrics: Quantifying “safe enough” for an autonomous vehicle is incredibly complex. There’s no universally agreed-upon standard or metric, making the “ready” decision a continuous debate among engineers, regulators, and ethicists.</li></ol><h3>Part 3: Tesla’s Secret Sauce — How They Do It (or Try To)</h3><p>Tesla’s approach to self-driving and its testing methodology is distinct, leveraging software, AI, and its massive fleet.</p><h3>The “Pure Vision” Cult: Seeing is Believing (and Driving)</h3><p>Tesla primarily relies on cameras for perception, unlike most competitors who use a combination of cameras, radar, and lidar. This “pure vision” approach means the neural network must learn to perceive and understand the world solely through pixels, inferring depth, speed, and intent.</p><ul><li>Testing Implications: This demands hyper-focus on computer vision, rigorous testing in challenging lighting and weather (where cameras struggle), and precise inferential testing for distance estimation.</li></ul><h3>Dojo: The Brain Gym for Tesla’s AI</h3><p>Tesla developed Dojo, a custom-built supercomputer, specifically for training their neural networks.</p><ul><li>Its Role in Testing: Dojo allows for massive model training, rapid iteration, and retraining when bugs are identified. It also enables large-scale regression testing, ensuring that new code doesn’t inadvertently break existing functionality.</li></ul><h3>Fleet Learning &amp; Shadow Mode: The Million-Mile Testers</h3><p>Tesla’s sheer volume of cars on the road becomes its greatest testing asset. Every Tesla is a silent, diligent data collector.</p><ul><li>Fleet Learning: Cars constantly gather data, especially when the driver takes over during Autopilot engagement. These “disengagements” are invaluable, indicating where Autopilot struggled.</li><li>Shadow Mode: When Autopilot isn’t actively engaged, its software runs in “shadow mode,” processing data and making driving decisions in parallel with the human driver. If the AI “decides” to do something different or would lead to a near-miss, that scenario is flagged and uploaded.</li><li>Testing Implications: This creates an unparalleled, continuous feedback loop, identifying new edge cases and prioritizing problematic scenarios for AI training.</li></ul><h3>The Tesla Testing Process: A Continuous Feedback Machine</h3><p>Tesla’s testing isn’t a linear “plan, execute, deploy” process; it’s a relentless, multi-layered feedback loop designed for speed and scale.</p><ol><li>Scenario Creation (The Digital Playbook):</li><li>Automated Simulation Testing (The Digital Marathon):</li><li>Hardware-in-the-Loop (HIL) Validation (The Reality Check):</li><li>Continuous Integration/Continuous Deployment (CI/CD) (The Software Sprint):</li><li>Fleet Learning &amp; Shadow Mode Feedback (The Global Observation):</li><li>Human Test Driver Validation (The Final Frontier):</li><li>Staged Rollouts &amp; Public Beta (The Grand Experiment):</li></ol><blockquote><em>This entire process is a continuous loop: real-world data informs simulations, simulations refine the AI, new AI versions are pushed to the fleet, and the cycle repeats. It’s an incredibly aggressive and data-driven approach, aiming to iterate faster than anyone else.</em></blockquote><h3>Internal Teams &amp; The Human Element: Beyond the Algorithms</h3><p>While algorithms and automation do the heavy lifting, human engineers and testers remain crucial. They are the conductors of this technological orchestra.</p><ul><li>Dedicated Test Drivers: Tesla employs human test drivers who operate vehicles on public roads and closed courses, specifically looking for anomalies, challenging the system, and validating new features. They are the frontline observers, identifying subjective issues that pure data might miss. They’re the ones who get to experience the “phantom braking” firsthand.</li><li>Simulation Engineers: Teams of engineers are dedicated to building and refining the simulation environments, ensuring they are as realistic and comprehensive as possible. They’re the architects of the digital world where the AI learns to drive.</li><li>Data Annotators and Validators: Large teams work on annotating the vast amounts of video data, ensuring accuracy for AI training. They also review flagged scenarios from shadow mode and actual incidents. This is the painstaking, meticulous work that makes the AI intelligent.</li><li>QA and Software Engineers: Traditional software quality assurance (QA) and development teams work on all aspects of the car’s software, from the infotainment system to battery management, applying standard testing methodologies. They ensure that when you tap the screen, it does what you want it to do.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-7j1VSsh_nU22ZnmCOxJVg.jpeg" /></figure><h3>The Bug Hunt: Specific Challenges &amp; “Fun” Cases (Where Testing Gets Hairy)</h3><p>Even with all this advanced tech, real-world complexity means problems arise. And when they do, they provide invaluable, if sometimes embarrassing, test cases. These are the moments that make engineers both groan and salivate, knowing a new challenge has arrived.</p><ol><li>“Phantom Braking” (The Ghost in the Machine): Teslas on Autopilot abruptly slam on brakes without apparent reason, often due to the “pure vision” system misinterpreting visual data (e.g., shadows, bridge overpasses) as obstacles. Testing focuses on improving confidence scores, noise filtering, and contextual understanding to prevent false positives.</li><li>The Emergency Vehicle Conundrum: Collisions with parked emergency vehicles with flashing lights. Flashing lights can create visual “noise” that confuses cameras, and stationary objects can be harder to detect. Testing requires numerous scenarios with emergency vehicles in varied conditions.</li><li>The Kid Mannequin Controversy: A viral video showed a Tesla failing to stop for a child-sized mannequin. This highlights the critical need for testing scenarios involving vulnerable road users appearing suddenly, ensuring the AI recognizes human forms of all sizes.</li><li>Urban Jungle Navigation: Users report quirky behavior in complex city environments (unprotected left turns, roundabouts, aggressive drivers). This demands extensive testing in highly complex, unpredictable urban scenarios, accounting for diverse road layouts and human behavior.</li></ol><h3>Part 4: Beyond the Code — Interesting Facts &amp; The Road Ahead</h3><ul><li>The “Beta” Label: Tesla’s use of “Beta” for FSD effectively turns hundreds of thousands of customer vehicles into test beds, accelerating data collection but also shifting some risk to users.</li><li>Elon Musk’s “Next Year” Mantra: His consistent predictions about FSD being ready “next year” reflect immense ambition and belief in imminent breakthroughs, putting pressure on testing teams.</li><li>The Data Annotation Army: While automated, a significant human workforce is still involved in painstakingly labeling video data to feed the AI.</li><li>The Disappearing Radar: Tesla’s move away from radar, relying solely on cameras, was controversial, significantly complicating the testing challenge by requiring the vision system to infer what radar might have directly measured.</li><li>The “Neural Net” is the Driver: Tesla’s AI is being developed to <em>be</em> the driver, a fundamental philosophical difference from modular approaches, requiring holistic system validation.</li><li>The “Shadow” Knows: Shadow mode is a genius way to leverage the entire fleet for continuous learning, with the AI silently evaluating human driving and flagging discrepancies.</li></ul><h3>Part 5: The Human Hurdle: Why We’re Still Wary of Self-Driving Cars</h3><p>Despite the futuristic allure and promises of enhanced safety, a significant portion of the public remains wary of fully autonomous vehicles. It’s not just about trusting a machine with your life (though that’s a big one!).</p><p>One major concern is safety and reliability. Every accident involving an autonomous vehicle, no matter how rare or who was at fault, tends to dominate headlines, eroding trust. People worry about software glitches, sensor failures in bad weather, or the car making an “incorrect” decision in a complex, unpredictable scenario. The idea of a computer making life-or-death choices on the road is a tough pill to swallow for many.</p><p>Then there’s the ethical dilemma. In unavoidable crash scenarios, how is the car programmed to prioritize? Is it the occupants, other road users, or minimizing property damage? These “trolley problem” situations are philosophical minefields that a machine’s logic might resolve in a way that feels morally uncomfortable to humans.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*b91Ph8Za52lEBaImg1M8lw.jpeg" /></figure><p>Job displacement is another fear, particularly for professional drivers (truckers, taxi drivers). The economic impact of widespread autonomous vehicle adoption is a legitimate concern for many communities.</p><p>Finally, there’s a general sense of loss of control and privacy. For many, driving is a fundamental freedom and a source of enjoyment. Handing that control over to an AI can feel unsettling. Additionally, the vast amounts of data collected by these vehicles raise questions about who owns that data, how it’s used, and potential surveillance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y9tYusQKMc6vxgs2mp5Q0w.jpeg" /></figure><p>The Road Ahead: An Endless Beta?</p><blockquote><em>Testing autonomous vehicles, especially at Tesla’s ambitious scale, is an ongoing, evolving challenge. It’s a blend of cutting-edge AI, massive data pipelines, sophisticated simulations, and the unpredictable chaos of the real world. Every software update, every new feature, and every reported incident triggers a new cycle of testing, refinement, and re-deployment.</em></blockquote><p>Will Tesla achieve true Full Self-Driving that makes human drivers obsolete? Only time will tell. The journey is fraught with technical hurdles, regulatory mazes, and the occasional viral video of a car doing something unexpected. But one thing is for sure: the quest to get there is an epic tale of engineering ingenuity, relentless testing, and a healthy dose of audacity. It’s a wild ride, and as long as humans are still driving, those Teslas will keep learning, one mile, one byte, and one phantom brake at a time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff880df7ce39" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Soundcheck for Success: Inside Spotify’s Agile Testing Universe]]></title>
            <link>https://medium.com/@ivan.boklach/soundcheck-for-success-inside-spotifys-agile-testing-universe-41a1c8f5672b?source=rss-5a01e36c63a4------2</link>
            <guid isPermaLink="false">https://medium.com/p/41a1c8f5672b</guid>
            <dc:creator><![CDATA[Ivan Boklach]]></dc:creator>
            <pubDate>Thu, 22 May 2025 05:26:48 GMT</pubDate>
            <atom:updated>2025-05-22T05:26:48.287Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*ZnNxJTW8y4l15U2DEa9fYw.png" /></figure><p>Welcome back to my series exploring the intricate world of quality assurance at some of the planet’s most influential tech giants.<br>This time, I am turning my gaze towards the melodious domain of Spotify. From its genesis in 2006 to its current status as a global streaming behemoth, Spotify has consistently pushed the boundaries of digital music delivery. But beneath the seamless playback and personalized playlists lies a sophisticated engineering ecosystem, where quality isn’t just an aspiration — it’s a fundamental requirement.<br>Join me as I pull back the curtain on Spotify’s agile testing universe, dissecting the philosophy, tools, and cultural nuances that enable them to deliver an unparalleled audio experience, bug-free and on cue, for hundreds of millions of listeners worldwide. Get ready to explore how Spotify ensures the music never stops.</p><h3>Chapter 1: The Prelude — A History of Spotify and Its Soundtrack of Scale</h3><p>Many years ago, the digital music landscape was a chaotic wilderness. Illicit peer-to-peer networks like LimeWire and Napster reigned supreme, offering a vast but legally dubious collection of MP3s. For music lovers, it was a convenience fraught with ethical dilemmas, security risks, and often, frustratingly inconsistent quality. Then, from the frosty, innovative shores of Sweden, a audacious vision emerged. Founded in 2006 by the dynamic duo of Daniel Ek and Martin Lorentzon, Spotify wasn’t just another tech startup; it was a daring proposition to revolutionize music consumption. Their audacious goal: to make accessing the world’s music library as simple and ubiquitous as flipping a light switch, all while ensuring artists and labels were fairly compensated.</p><p>In an era dominated by digital downloads and the fledgling concept of online radio, Spotify dared to bet on streaming. Initially, it was a desktop application, a sleek portal offering millions of tracks on demand. It promised legality, convenience, and a superior user experience. And the world hit play. From those humble beginnings, Spotify’s growth trajectory wasn’t just fast; it was hyper-exponential. It mirrored the accelerating pace of digital adoption itself, transforming from a niche European service into a global cultural phenomenon.</p><p>This meteoric rise brought with it an unprecedented set of engineering challenges. What started as a relatively contained desktop application soon had to evolve into a sprawling, cloud-native platform serving hundreds of millions of users across myriad devices — smartphones, smart speakers, cars, gaming consoles, and beyond. This wasn’t merely about scaling servers; it was about ensuring real-time playback across continents, personalizing discovery for diverse tastes, handling petabytes of data, and managing a rapidly expanding catalog. The very fabric of Spotify’s technological infrastructure had to adapt, grow, and become resilient under immense pressure.</p><p>With this incredible growth came a critical realization: with great power comes great quality assurance responsibility. As Spotify transitioned from a startup building a proof-of-concept to a global powerhouse delivering an essential daily service, the stakes for quality rose dramatically. A bug in a nascent application might be an annoyance; a bug in a service relied upon by millions could mean significant user churn, reputational damage, and a direct impact on revenue. The challenge wasn’t just to keep the beats bumping, but to ensure they never faltered, never skipped, and always landed perfectly in tune, no matter how complex the symphony of the underlying systems became. This foundational understanding laid the groundwork for a quality philosophy that would become as integral to Spotify as its iconic green logo.</p><h3>Chapter 2: Testing Philosophy — Agile, but Make it Musical</h3><p>Spotify’s approach to testing isn’t merely a set of procedures; it’s a direct reflection of its deeply ingrained engineering culture, often referred to as the “Spotify Model.” This model, widely studied and sometimes imitated across the tech industry, champions autonomy, agility, and a healthy allergy to bureaucratic overhead. Imagine a symphony orchestra where each section — the strings, the brass, the percussion — isn’t just playing their part, but actively composing and arranging their segments, while still contributing to a harmonious whole. That’s the essence of Spotify’s organizational structure and, by extension, its testing philosophy.</p><p>At the core of this model are “squads.” These are small, cross-functional, self-organizing teams, typically comprising 6–12 individuals, including developers, designers, product owners, and crucially, dedicated quality assurance (QA) or Software Development Engineer in Test (SDET) professionals. Each squad operates with a high degree of independence, much like a mini-startup within the larger Spotify ecosystem. They are empowered to define their work, choose their tools, and most importantly, take full ownership of their features from conception to deployment and beyond. This radical autonomy means that responsibility for quality isn’t siloed in a separate QA department; it’s baked into the DNA of every squad.</p><p>This “agile on caffeine, with music in the background” approach poses a unique challenge: how do you maintain a consistent, high level of quality when every squad is innovating and deploying at a pace faster than a synthwave playlist on 2x speed? The answer isn’t to slow down, but to test smart, not hard. This means leveraging automation, building robust infrastructure, and fostering a pervasive “shift-left” testing mindset.</p><p>The shift-left philosophy at Spotify is more than a buzzword; it’s a fundamental operating principle. It advocates for integrating testing activities as early as possible in the software development lifecycle. This means:</p><ol><li>Early Tester Involvement: QA professionals are not just gatekeepers at the end of the development cycle. They are embedded within squads from the very inception of a feature, participating in brainstorming sessions, reviewing prototypes, collaborating on user stories, and providing critical feedback on design and functionality <em>before a single line of code is written</em>. This proactive engagement helps identify potential issues, edge cases, and testability challenges long before they become costly bugs.</li><li>Developer Testing as a First-Class Citizen: In this autonomous environment, developers aren’t just writing code; they’re also writing tests. Extensive unit tests, integration tests, and even some component-level end-to-end tests are expected to be written by the engineers themselves. This not only speeds up the feedback loop but also instills a deeper sense of code ownership and quality responsibility within the development team. It’s about building quality in, rather than trying to test it in at the end.</li><li>CI/CD Pipelines that Don’t Crack Under Pressure: The bedrock of rapid, autonomous deployment is a highly mature Continuous Integration/Continuous Delivery (CI/CD) pipeline. At Spotify, these pipelines are meticulously designed to be robust and reliable, ensuring that every code commit triggers an automated battery of tests. If tests fail, the build breaks, and the team is immediately alerted. This immediate feedback loop prevents regressions from propagating downstream, keeping the main codebase (often referred to as main or master) in a constantly shippable state. The pipelines are engineered not just to run tests, but to support fast, frequent, and safe deployments, allowing squads to iterate and experiment rapidly without compromising system stability.</li></ol><p>In essence, Spotify’s testing philosophy is about empowering teams, automating relentlessly, and fostering a culture where quality is a shared responsibility, not a delegated task. It’s about finding the right rhythm between speed and stability, ensuring that innovation can thrive without ever letting the music stop.</p><h3>Chapter 3: The Testing Avengers — Tools and Platforms That Save the Day</h3><p>Behind Spotify’s seamless user experience lies a sophisticated, purpose-built testing infrastructure. It’s not just a collection of off-the-shelf tools; it’s a meticulously curated ensemble, much like a music festival lineup — diverse, powerful, and very intentional, designed to meet the unique demands of scaling a global streaming service. These are the unsung heroes, the “Testing Avengers” that empower squads to maintain quality at velocity.</p><h3>Confidence: The Experimentation Maestro</h3><p>Imagine A/B testing, but elevated to an art form — a refined, powerful platform for continuous product evolution. This is Confidence, Spotify’s internally developed experimentation platform. It’s the central nervous system for validating hypotheses, testing new features, and understanding user behavior at scale. Confidence isn’t just about showing two versions of a feature to different user groups; it’s a sophisticated ecosystem that allows teams to:</p><ul><li>Rigorously Test Hypotheses: Before a major feature rolls out, it’s subjected to real-world scrutiny. Confidence enables teams to design experiments that might test different user flows, varying recommendations algorithms, new UI layouts, or even the subtle psychological impact of changing the color of a “Like” button (spoiler: users are surprisingly sensitive to such details, and these seemingly minor changes can have significant impacts on engagement).</li><li>Gradual Rollouts and Canary Deployments: Risk mitigation is paramount. New features don’t typically get a full, global release all at once. Instead, Confidence facilitates gradual rollouts. A new feature might first be exposed to a tiny, statistically insignificant slice of users, perhaps 1% or 0.1% — often referred to as a “canary” release. If this small cohort responds positively, and critical metrics (e.g., app crashes, latency, feature usage) remain stable, the feature is then gradually rolled out to larger percentages of the user base (e.g., 5%, 10%, 25%, 50%, 100%). This phased approach acts as an early warning system, allowing teams to detect and address issues before they impact the broader user base.</li><li>Data-Driven Decision Making: Confidence isn’t just a switch for toggling features; it’s a powerful data analytics engine. It’s backed by a robust A/B testing infrastructure that meticulously collects, aggregates, and crunches vast amounts of user interaction data. This isn’t merely about “did users like it?” but delves much deeper into critical business and product metrics: Engagement Metrics: How long are users interacting with the feature? Are they repeating desired actions? Churn Prediction: Does the new feature inadvertently increase the likelihood of users canceling their subscription? Conversion Impact: For premium features, does it drive more users to subscribe or upgrade? Performance Impact: Does the new feature introduce latency or consume excessive battery life? Pure Vibes (Qualitative Feedback): While data is king, user sentiment and qualitative feedback, gathered through surveys or support tickets, are also factored in.</li></ul><p>By providing clear, statistically significant insights, Confidence empowers teams to make informed decisions: proceed with a full rollout, pivot the feature based on initial feedback, or even entirely abandon an idea that doesn’t meet its intended goals. It transforms product development from a series of educated guesses into a continuous cycle of experimentation and learning.</p><h3>Backstage: The Developer’s Backing Band</h3><p>In a distributed, autonomous architecture like Spotify’s, consistency and efficiency are critical. This is where Backstage steps in as the developer’s ultimate backing band. Imagine an internal developer portal so intuitive and streamlined that setting up a new microservice feels as effortless as tuning a guitar with auto-tune.</p><p>Backstage is Spotify’s internal developer portal, designed to reduce cognitive load and accelerate development. It serves as a single pane of glass for everything an engineer needs to build, deploy, and manage services:</p><ul><li>Service Catalog: A comprehensive directory of all services, their owners, documentation, and dependencies. This helps engineers discover existing components and understand the vast Spotify ecosystem.</li><li>Standardized Tooling &amp; Golden Paths: Instead of every squad reinventing the wheel, Backstage provides “Golden Paths.” These are curated, standardized templates and frameworks for common tasks, such as creating a new service, setting up CI/CD pipelines, or deploying to a specific environment. Think of them as well-trodden, optimized routes that guide engineers towards best practices for architecture, security, and importantly, testability. This means less copy-pasting from Stack Overflow and more actual, consistent engineering.</li><li>Self-Service Automation: Backstage empowers engineers to perform various operations (e.g., provisioning infrastructure, generating boilerplate code, setting up monitoring) through a user-friendly interface, reducing reliance on central operations teams and accelerating development cycles.</li></ul><p>Crucially, for quality assurance, Backstage plays a vital role by promoting consistency in service creation. When services are built using standardized templates and follow Golden Paths, they inherently incorporate baseline quality practices, such as integrated testing frameworks, sensible logging, and monitoring hooks. This consistency simplifies cross-service integration testing and makes troubleshooting far more efficient.</p><p>And here’s the cool part: recognizing its universal utility, Spotify open-sourced Backstage. This act of generosity allowed countless other companies to benefit from Spotify’s investment in developer experience, proving that what works for a music streaming giant can elevate engineering practices globally.</p><h3>Tingle CI/CD: Testing With a Side of Deployment</h3><p>The lifeblood of continuous delivery is a robust CI/CD system. Spotify’s journey through CI/CD has seen an evolution from older, potentially more brittle systems (which were probably held together with digital duct tape and the sheer willpower of engineers) to the sophisticated platform known as Tingle. Tingle is the central nervous system for Spotify’s builds, deployments, and releases, ensuring that the continuous flow of code meets rigorous quality gates.</p><p>Tingle’s primary function is to automate the entire software release process. Every time an engineer pushes code to the repository, Tingle springs into action, orchestrating a complex symphony of automated tasks:</p><ul><li>Automated Builds: It compiles code, resolves dependencies, and packages applications for deployment.</li><li>Integrated Automated Testing: This is where Tingle truly shines for QA. It triggers an extensive suite of automated tests at various levels: Unit Tests: Verifying individual components and functions. Integration Tests: Ensuring different modules or services interact correctly. Component Tests: Testing larger blocks of functionality in isolation. End-to-End Tests: Simulating user journeys through the entire system. Performance Tests: Running basic load simulations to detect regressions. Security Scans: Basic static and dynamic analysis to catch common vulnerabilities.</li><li>Deployment Automation: Upon successful completion of all tests, Tingle automates the deployment process, pushing validated code to various environments — from staging to production.</li><li>Release Management: It manages the release lifecycle, including versioning, rollback capabilities, and orchestrating phased rollouts in conjunction with Confidence.</li></ul><p>The critical benefit of Tingle is the immediate feedback loop. If any test in the extensive automated parade fails, the build is automatically halted, and the team responsible is immediately notified. This prevents faulty code from progressing further down the pipeline, catching regressions and bugs early, when they are cheapest and easiest to fix. Tingle ensures that every change pushed to Spotify’s vast codebase is subjected to relentless scrutiny, safeguarding the integrity and quality of the platform and ensuring that suspicious behavior or unintended consequences are flagged long before they ever reach a user’s ears.</p><h3>Chapter 4: How to Not Break the Music Player</h3><p>For Spotify, music is sacred. The thought of a user’s “Discover Weekly” disappearing, a crucial playlist refusing to sync, or an album failing to play properly is a nightmare scenario. This deep reverence for the user experience dictates a comprehensive, multi-layered approach to testing. Quality assurance at Spotify isn’t a single department; it’s a pervasive mindset that touches every single component, from the intricate backend services that intelligently curate your next favorite song to the pixel-perfect user interface that lets you proudly display your meticulously crafted playlists. The QA process is thorough, sometimes playfully chaotic, and always in a state of continuous evolution.</p><p>Here’s a deeper dive into the types of testing employed:</p><ol><li>Functional Testing: This is the bedrock, ensuring that every feature behaves exactly as specified. For Spotify, this means:</li><li>Integration Testing: Given Spotify’s microservices architecture, this is paramount. It ensures that disparate services communicate and cooperate effectively. This includes:</li><li>Load and Performance Testing: With hundreds of millions of users worldwide, Spotify operates at an immense scale. Performance is not a luxury; it’s a core feature.</li><li>Monkey Testing (or Fuzz Testing / Chaos Engineering Lite): Yes, even simulated chaos has its place. This involves randomly injecting events, inputs, or system failures to test the application’s resilience.</li><li>Accessibility Testing: Ensuring that the Spotify experience is inclusive and usable for individuals with disabilities. This involves:</li><li>Security Testing: Protecting user data and intellectual property is paramount.</li><li>Compatibility Testing: Given the vast ecosystem of devices, operating systems, and browsers, ensuring a consistent experience is a continuous challenge.</li><li>Localization Testing: For a global product, ensuring the experience is tailored to different languages and cultures.</li></ol><p>The QA process at Spotify is never static. It’s a living, breathing entity that constantly adapts to new features, technologies, and user behaviors. It’s an ongoing conversation between engineers, product managers, and dedicated QA specialists, all united by the common goal of ensuring the music never stops and the user experience remains unparalleled.</p><h3>Chapter 5: Failures That Rocked the Stage (and Taught Valuable Lessons)</h3><p>No software, especially one operating at Spotify’s scale and complexity, is ever truly perfect. There have been moments where the rhythm faltered, the beat dropped, or the entire concert went silent. Bugs, outages, and frustrating user experiences are an inevitable part of the software development journey. That time your painstakingly curated playlist wouldn’t sync, leaving your morning run feeling like a silent film, wasn’t just a minor annoyance; it was a blip in the user’s daily soundtrack, and deeply felt by the teams behind it.</p><p>However, Spotify’s maturity isn’t defined by the absence of failures, but by its profound commitment to learning from them. This learning culture is epitomized by their approach to post-mortems.</p><p>At Spotify, a post-mortem is not a blame game; it’s a detailed, analytical retrospective designed to uncover the root causes of an incident, identify systemic weaknesses, and extract actionable lessons. This is a blameless culture: engineers are not shamed or reprimanded for honest mistakes or system failures; instead, they are supported and encouraged to openly share what happened. The focus is on the <em>system</em> and <em>processes</em> that allowed the failure to occur, not on individual culpability.</p><p>Here’s how these lessons are often extracted and applied:</p><ol><li>Immediate Response &amp; Mitigation: The first priority during an incident is always to restore service as quickly as possible. Once stable, the incident response team documents every step.</li><li>Blameless Post-Mortem Sessions: These sessions are typically facilitated, bringing together all relevant stakeholders — engineers from affected squads, product owners, QA, and operations. The discussion is structured to answer key questions: What happened? (Chronology of events) Why did it happen? (Root cause analysis — not just the immediate trigger, but underlying systemic issues) What was the impact? (Quantifying user impact, financial impact, reputational impact) What did we learn? (Key takeaways) What actions will we take to prevent recurrence? (Specific, measurable action items)</li><li>Actionable Takeaways: Every failure is a unique opportunity to strengthen the system. Lessons learned frequently lead to: Beefing up Tests: A production bug might reveal a gap in test coverage. This often results in new unit tests, integration tests, or end-to-end scenarios being added to the automated pipeline to prevent similar regressions. For instance, an outage caused by a specific database query might lead to new performance tests for database interactions or a deeper integration of query analysis tools. Improving Automation: Manual steps that contributed to an error might be automated. Deployment processes might be refined. New automated checks could be introduced before code is merged or deployed. Enhancing Monitoring &amp; Alerting: If an incident wasn’t detected early enough, new metrics or alerts are configured. Dashboards might be updated to provide better visibility into system health. Refining Documentation &amp; Runbooks: Playbooks for handling common issues are updated, and architectural documentation is clarified to reduce tribal knowledge dependencies. Architectural Changes: In some cases, repeated failures might necessitate more fundamental shifts in system architecture to improve resilience, fault tolerance, or scalability. Knowledge Sharing: The insights from post-mortems are often shared widely across the engineering organization, sometimes even published internally as “lessons learned” documents, to ensure that the entire company benefits from the experience.</li></ol><p>These blameless retrospectives aren’t just about fixing a specific bug; they cultivate a culture of continuous improvement, psychological safety, and collective ownership of quality. By embracing failures as invaluable learning opportunities, Spotify transforms potential setbacks into catalysts for building a more robust, resilient, and user-centric platform.</p><h3>Chapter 6: Data, Metrics, and Dashboards — Because Feelings Don’t Scale</h3><p>At Spotify, decision-making is deeply ingrained in data. Just as audiophiles obsess over the nuanced fidelity of vinyl, Spotify’s engineers and product teams are obsessed with data. Test results aren’t just pass/fail; they are rich data points that feed into a sophisticated ecosystem of dashboards and analytical tools, providing real-time, holistic views of system health, the success of ongoing experiments, and platform-wide performance.</p><p>In a company that operates on the scale of Spotify, “feelings” or anecdotal evidence simply don’t scale. To make informed decisions about product features, infrastructure investments, or quality improvements, concrete, measurable data is essential. This data-driven approach permeates every aspect of the engineering and quality lifecycle:</p><ol><li>Key Performance Indicators (KPIs) and Metrics: A wide array of metrics are meticulously tracked, providing immediate insights into the system’s pulse:</li><li>Real-Time Dashboards and Visualization: These metrics are not hidden in logs; they are prominently displayed on customizable dashboards, often built using tools like Grafana, Kibana, or internal visualization platforms. These dashboards provide:</li><li>Alerting and Monitoring: Metrics are tied to sophisticated alerting systems. If a critical threshold is breached (e.g., error rates spike, latency increases), automated alerts notify the responsible teams immediately via PagerDuty, Slack, or other communication channels, often triggering automated runbooks or incident response procedures.</li><li>Data-Driven Retrospectives: Post-mortems are heavily informed by data. Logs, metrics, and incident timelines provide objective evidence for root cause analysis and impact assessment.</li><li>Celebrating Success and Mourning Failures: Metrics are not just tracked; they are discussed, celebrated, and sometimes mourned. If a team significantly improves a key metric (e.g., reduces latency, increases test coverage), it’s a cause for recognition — perhaps even actual cake! Conversely, if a team breaks the build or causes a dip in a critical metric, they know it immediately, and the focus shifts to rapid resolution and learning. This transparency fosters a strong sense of accountability and collective responsibility for quality.</li></ol><p>By embedding data collection, analysis, and visualization into its daily operations, Spotify ensures that quality assurance is not an abstract concept but a tangible, measurable outcome. This reliance on data helps teams prioritize efforts, understand impact, and continuously refine their processes to deliver an unparalleled listening experience.</p><h3>Chapter 7: The Future — Smarter, Leaner, and Maybe a Little More AI</h3><p>Spotify’s commitment to innovation extends far beyond music recommendations; it deeply influences its testing roadmap. As the platform continues to grow in complexity, user base, and feature richness, traditional testing methodologies, while foundational, must evolve. The future of quality assurance at Spotify is inextricably linked with leveraging cutting-edge technologies like machine learning (ML) and artificial intelligence (AI) to build smarter, leaner, and more resilient testing systems.</p><p>The sheer volume of code, data, and user interactions at Spotify makes manual testing unsustainable for comprehensive coverage, and even traditional automated testing can struggle to keep pace with the exponential growth. This is where AI and ML are poised to make a transformative impact:</p><ol><li>Predictive Testing and Anomaly Detection: Instead of reacting to failures, Spotify is exploring ways to predict them.</li><li>Smarter Test Selection and Optimization: Not all tests need to run all the time.</li><li>AI-Assisted QA Tools and Test Case Generation:</li><li>Beyond Traditional Boundaries: AI for Quality Insights:</li></ol><p>Of course, the jury’s still out on whether robots truly understand the nuances of heartbreak ballads or the intoxicating pull of a perfect bassline. While AI might help curate a technically flawless playlist, the emotional depth and cultural relevance will always require human intuition. Similarly, while AI can significantly enhance the efficiency and intelligence of testing, the critical thinking, domain expertise, and empathy of human QA professionals will remain indispensable for ensuring the ultimate user experience. The future of testing at Spotify isn’t about replacing humans with machines, but about augmenting human intelligence with powerful AI tools, enabling teams to build, test, and deliver an even more delightful and robust listening experience.</p><h3>Final Chorus: QA, But Make It Rock</h3><p>Testing at Spotify is far more than a departmental function; it’s an intrinsic part of the company’s DNA, analogous to the meticulous soundcheck before a headline act takes the stage. It’s critical, sometimes chaotic, yet always performed with the singular purpose of creating a seamless, captivating experience for hundreds of millions of listeners globally.</p><p>The journey from a small Swedish startup battling pirated MP3s to a world-leading audio streaming platform has been marked by an unwavering commitment to quality. This commitment is underpinned by a bold organizational model that champions autonomy and empowerment at the squad level, fostering a shared sense of ownership over the quality of the product. The shift-left philosophy ensures that quality isn’t an afterthought but is meticulously baked into every stage of development, from initial concept to final deployment.</p><p>Spotify’s ingenuity shines through in its bespoke tools and platforms. Confidence isn’t just an A/B testing tool; it’s the experimentation maestro that allows product teams to validate hypotheses with scientific rigor, ensuring that every new feature enhances the user experience, rather than detracting from it. Backstage transforms the developer experience, acting as an internal “operating system” that streamlines service creation and promotes consistency through “Golden Paths,” inherently embedding good engineering and testability practices. And Tingle CI/CD stands as the automated guardian, orchestrating a symphony of tests with every code commit, ensuring that only rock-solid code makes it through the pipeline, preventing regressions and maintaining a perpetually shippable codebase.</p><p>The culture of learning from failures, embodied by blameless post-mortems, ensures that every stumble becomes a stepping stone towards greater resilience. And the relentless pursuit of data and metrics provides the objective compass, guiding decisions and celebrating successes, making quality a measurable and actionable goal.</p><p>Looking ahead, Spotify’s testing roadmap continues to evolve, embracing the transformative potential of machine learning and artificial intelligence. These advancements promise even smarter test selection, more proactive anomaly detection, and a leaner, more efficient quality assurance process, allowing human ingenuity to focus on higher-level strategic challenges and user empathy.</p><p>So, the next time your Discover Weekly playlist drops a track that perfectly encapsulates your mood, or your daily podcast plays without a hitch, take a moment to appreciate the intricate dance of quality assurance behind the scenes. Behind every bug-free beat, every perfectly streamed podcast, and every delightful feature, is a dedicated squad of testers and engineers, living the agile dream, making sure the music never stops.</p><p>Stay agile. Stay weird. And keep testing like your app is about to headline Coachella — because for Spotify, it always is.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41a1c8f5672b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>