Urgent.News

What's breaking now, across thousands of outlets.

Tech

Properties First, Fixtures Second, Flakes Never: A Test Contract for Agent Patches

An agent patch is a hypothesis. A test suite is the only evidence a reviewer gets. Most suites fail at that job in three reproducible ways: assertions the agent can reverse-engineer, fixtures that regenerate and drift, and flaky tests that flap between green and red without a single commit. This article is a three-layer contract that closes all three: property checks for invariants, hash-pinned…

The article presents a three-layer contract to address the common issues of assertions, fixtures, and flaky tests in test suites. Layer 1 focuses on property checks that transform values into relationships, ensuring that outputs do not violate the module's documented contract for any input. This approach prevents agents from merely memorizing answers and requires them to change behavior when violations occur.

Layer 2 tackles fixture drift by generating fixtures at test time, hashing them, and asserting before the suite runs. This technique ensures determinism and visibility of differences, preventing hidden regression issues. Layer 3 introduces a flake quarantine that runs tests before the agent sees the suite, avoiding flaky test failures.

By combining these three layers, the contract aims to establish a reliable and verifiable testing process, improving the overall quality of software development.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Top 10 ISPs in Nigeria by subscribers in Q2 2026

The internet service providers (ISP) market in Nigeria continues to evolve with new players throwing in challenges that keep existing players on their toes.

  • Intelivision entered top 10 as 10th with 4,743 subscribers
  • Ngcom remained leader with 6,194 subscribers, down from previous
  • Starlink second largest ISP with 98,642 subscribers

Discord Webhook Tutorial: How to Send Automated Messages

A complete guide on how to create a Discord Webhook URL and use Node.js, Python, or cURL to send automated rich embed messages to your server.

  • Create Discord Webhook URL via channel settings
  • Send automated messages using cURL, Node.js, or Python
  • Add embeds array for rich message formatting

Indonesians Will No Longer See Forfeited Internet Data: What to Know

Indonesia requires telecommunication operators to protect unused internet data.

  • Indonesians can retain forfeited mobile data, per July Constitutional Court ruling.
  • Operators prohibited from charging fees for remaining data quota.
  • Ministry mandates customer education on pricing, quotas, and usage rules.

More from Saturday 29 August →