---
title: "Testing (hard)"
description: "Unit/integration/e2e testing, test infrastructure, flaky tests"
url: "https://swe.quest/tags/testing?difficulty=hard"
---

# Testing (hard)

Topic in Engineering practices: Unit/integration/e2e testing, test infrastructure, flaky tests

By difficulty: [Easy](https://swe.quest/tags/testing.md?difficulty=easy) · [Medium](https://swe.quest/tags/testing.md?difficulty=medium) · [Hard](https://swe.quest/tags/testing.md?difficulty=hard)

Posts 1–16 of 16, page 1 of 1, newest first.

## 2026-11-13

- [Cuttlefish on Mac: Running Android’s Virtual Device Framework Natively on Apple Silicon](https://swe.quest/articles/cuttlefish-on-mac-running-android-s-virtual-device-framework-natively-on-apple-fefee417079b1efa.md): Meta Engineering · 2026-11-13 · Hard · 5 min read · Virtualization, Mobile, Testing, Developer productivity
  Meta's Reality Labs ported AOSP's Cuttlefish virtual-device framework to run natively on Apple silicon Macs, letting it retire the lower-fidelity Goldfish emulator and standardize on one platform shared by developers, CI and external partners.

## 2026-11-05

- [How we continuously validate formal specifications in production](https://swe.quest/articles/how-we-continuously-validate-formal-specifications-in-production-8af79b473bcc3ebf.md): Datadog Engineering · 2026-11-05 · Hard · 16 min read · Formal methods, Testing, Distributed systems, Rust, Observability
  FETCh (Formal Execution Trace Checker) compiles TLA+ specifications into Rust runtime monitors that consume production telemetry and flag any state transition the spec forbids, catching drift between a formal model and the evolving implementation.

## 2026-11-02

- [How we halved DNS build delay and cut memory use by 85%](https://swe.quest/articles/how-we-halved-dns-build-delay-and-cut-memory-use-by-85-571d0d573d8e7634.md): Cloudflare · 2026-11-02 · Hard · 15 min read · DNS, Scaling, Queues & messaging, Performance engineering, Testing
  Cloudflare's DNS Zone Builder now uses a targeted build planner that picks the smallest provably safe build (resources only, resources plus metadata, apex plus metadata, purge, or full zone) and a unified per-zone scheduler that merges queued work.

## 2026-10-14

- [Virtual Oxide Labs: Emulating a Full Oxide Rack](https://swe.quest/articles/virtual-oxide-labs-emulating-a-full-oxide-rack-d13a1ba255d70099.md): Oxide · 2026-10-14 · Hard · 16 min read · Testing, Virtualization, Rust, Networking
  Voxel (Virtual Oxide Labs) is a Rust-on-illumos emulation stack that runs a full Oxide rack on a single machine using stock, unmodified Oxide software.

## 2026-09-08

- [Testing race conditions with memory access tracing and stack-based delay injection](https://swe.quest/articles/testing-race-conditions-with-memory-access-tracing-and-stack-based-delay-a9851e9c2152e266.md): Google Project Zero · 2026-09-08 · Hard · 16 min read · Concurrency, Linux, Vulnerability research, Testing, Debugging
  MAccConc is a set of tools for exploring thread interleavings of multi-threaded Linux kernel test cases to confirm, regression-test and eventually fuzz race condition bugs.

## 2026-08-20

- [Protocol-Aware Deterministic Simulation Testing](https://swe.quest/articles/protocol-aware-deterministic-simulation-testing-7f3b613be8faf2a6.md): TigerBeetle · 2026-08-20 · Hard · 10 min read · Formal methods, Testing, Consensus, Replication, Storage engines
  TigerBeetle's deterministic simulator (the VOPR) has full visibility into each replica's consensus and storage state, so it can check invariants that black-box tools like Jepsen or Antithesis cannot see through user-facing APIs.

## 2026-03-05

- [On the Effectiveness of Mutational Grammar Fuzzing](https://swe.quest/articles/on-the-effectiveness-of-mutational-grammar-fuzzing-edf57a83d5fa06c9.md): Google Project Zero · 2026-03-05 · Hard · 9 min read · Vulnerability research, Testing
  Coverage-guided mutational grammar fuzzing has two weaknesses.

## 2026-01-06

- [Fun with Algebraic Effects - from Toy Examples to Hardcaml Simulations](https://swe.quest/articles/fun-with-algebraic-effects-from-toy-examples-to-hardcaml-simulations-5f2853fd03f84a3a.md): Jane Street Tech Blog · 2026-01-06 · Hard · 17 min read · Functional programming, Language design, Concurrency, Testing
  Algebraic effects in OCaml 5/OxCaml can replace monads for most uses, and Jane Street ported Hardcaml\_step\_testbench from a monadic API to effects.

## 2025-11-28

- [A Tale Of Four Fuzzers](https://swe.quest/articles/a-tale-of-four-fuzzers-88cabf77780814b8.md): TigerBeetle · 2025-11-28 · Hard · 32 min read · Testing, Replication, Distributed systems, Formal methods, Zig
  TigerBeetle's Adaptive Replication Routing (ARR) puts the primary in the middle of a replication ring so no single dropped message is critical.

## 2025-06-06

- [Fuzzer Blind Spots (Meet Jepsen!)](https://swe.quest/articles/fuzzer-blind-spots-meet-jepsen-95901ab1fc56e123.md): TigerBeetle · 2025-06-06 · Hard · 7 min read · Testing, Formal methods, Storage engines, Query engines, Debugging
  Jepsen found a missing-results bug in TigerBeetle's query engine despite four fuzzers covering it, because the VOPR and LSM query fuzzer pre-registered disjoint queries whose matching objects were always consecutive in every secondary index, so zig-zag merge join probing was never exercised.

## 2025-04-29

- [Introducing AutoPatchBench: A Benchmark for AI-Powered Security Fixes](https://swe.quest/articles/introducing-autopatchbench-a-benchmark-for-ai-powered-security-fixes-f107d000a04ddc7d.md): Meta Engineering · 2025-04-29 · Hard · 17 min read · Evaluation, Vulnerability research, AI for coding, C & C++, Testing
  AutoPatchBench is a benchmark of 136 fuzzing-found C/C++ vulnerabilities from real projects, curated from the ARVO/OSS-Fuzz dataset, for evaluating AI program repair agents.

## 2024-11-01

- [How we built a Ruby library that saves 50% in testing time](https://swe.quest/articles/how-we-built-a-ruby-library-that-saves-50-in-testing-time-128208a842ec0eb3.md): Datadog Engineering · 2024-11-01 · Hard · 12 min read · Ruby, Testing, Performance engineering, Runtimes & VMs, CI/CD
  Datadog built a Ruby test impact analysis library for its Intelligent Test Runner that maps each test to the source files it executes, so tests unrelated to a commit's changed files can be skipped, cutting testing time roughly in half.

## 2023-07-18

- [Contributing support for a Wasm instruction to Winch](https://swe.quest/articles/contributing-support-for-a-wasm-instruction-to-winch-3a4d14391ef1d680.md): Shopify Engineering · 2023-07-18 · Hard · 9 min read · WebAssembly, Compilers, Rust, Testing, Open source
  Adding a WebAssembly instruction to Winch, Wasmtime's baseline non-optimizing compiler, touches several layers: the wasmparser VisitOperator visitor, the CodeGenContext that manages the value stack, register allocation and spilling, an ISA-independent MacroAssembler, and an x86\_64 assembler built on Cranelift's ISLE-generated instruction definitions.

## 2023-07-06

- [Simulation Testing For Liveness](https://swe.quest/articles/simulation-testing-for-liveness-7a5ba398eed57d56.md): TigerBeetle · 2023-07-06 · Hard · 4 min read · Formal methods, Testing, Consensus, Distributed systems, Resilience
  TigerBeetle's VOPR simulator now has a "liveness" mode alongside its "safety" mode, because uniformly random, eventually-healing faults can never surface livelocks such as a permanently asymmetric partition that triggers endless view changes.

## 2023-02-16

- [Five Methods For Database Obfuscation](https://swe.quest/articles/five-methods-for-database-obfuscation-477824be1d934bc1.md): ClickHouse · 2023-02-16 · Hard · 23 min read · Analytics & OLAP, Privacy, Performance engineering, Testing, Algorithms
  ClickHouse needed publishable benchmark data that kept the properties driving analytical query performance in its private web analytics dataset: compression ratio, per-column and cross-column cardinality, and value distributions such as power laws.

## 2021-05-13

- [Running Border Gateway Protocol in large-scale data centers](https://swe.quest/articles/running-border-gateway-protocol-in-large-scale-data-centers-d93bb3d6d3d281ee.md): Meta Engineering · 2021-05-13 · Hard · 3 min read · Networking, Datacenters, Deployment, Testing
  Facebook runs BGP as the routing foundation of its data centers, and found it works well only when co-designed with the topology, configuration, switch software and fleet-wide operations pipeline.

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=testing](https://swe.quest/feed.xml?difficulty=hard&tag=testing). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
