Build1 distinct publisher3 min readUpdated
A dev.to write-up proposes a review gate for machine-written tests: name the harmed user, break the product on purpose, assert the result, mutate the data, then decide.
The Engineer · Build desk

Compiled by The EngineerSomething wrong?How this is made
A post on dev.to by aiwithanton sets out seven checks to run against an AI-generated test before you let it into the suite: name the user risk, break the product, check the final result, change the data, read the failure, repeat the run, then ask whether the test could stop a bad release [1][2]. It matters because the thing your assistant hands you is a file that passes, and the author's position is that a clean file, plausible names and a green run prove nothing about value [3].
The standard the piece sets is narrow: a useful test catches a failure that matters to users, and the review has to find that proof before the test is kept [4].
Check one is a sentence, not code. Name who loses something and what they lose; money, time, access and trust are clear answers, "the feature breaks" is not [5]. The worked risk is "A customer sees the wrong total and pays too much"; the rejected version is "checkout may fail", because it names no damage and gives the test no target [6].
Check two is the one that does the work. The article's sample Playwright test opens /checkout, clicks Pay, and asserts that the text "Success" is visible, which checks a message rather than the charged amount [7]. So you remove the payment action or return the wrong total. If the test still passes, according to the author it protects nothing useful [8]. Of the seven steps, this is the only one that requires you to induce a failure rather than inspect or rerun a passing test [18].
Check three moves from steps to results. The stronger version asserts that order-total reads $120.00 and payment-status reads Paid [9]. The post is precise about the division of labour: Playwright supplies assertions that wait for results, but choosing the right result is still yours [10].
Check four is data. AI tends to produce one neat example, while real users bring missing, wrong and extreme values, so the piece loops an amount field over zero, 999999 and the string "wrong" and requires an alert each time [11].
The last three checks are about cost after the fact. Run the test against a broken result and read the message: "Expected: $20.00 / Received: $120.00" points at the product error, while "Timeout after 30000ms" sends the next engineer into the logs [12]. Run the same input twice, which surfaces shared data, timing problems and hidden dependencies on other tests, and compare both runs rather than accepting a green second pass [13]. Then name the release the test would block, for example "This test blocks checkout when totals are wrong"; keep it if the answer is clear, rewrite or delete it if it stays vague [14].
That final gate is a queue-management decision as much as a quality one. The claim is that teams do not need every generated test, only the small set that proves important behaviour [15]. The author puts the whole review at a few minutes per test [17].
Two of the seven checks produce a sentence rather than a code change [16]. Those are the two most likely to be skipped under delivery pressure, and they are the ones that decide whether the other five are aimed at anything. Watch whether your team ever deletes a generated test after review. If nothing is ever discarded, the gate is decoration.
Follow any of these and your For You feed starts watching them — no settings page required.
Ranked by verification strength, evidence, and original report placement.
A dev.to article by aiwithanton, titled "How to Review AI-Generated Tests: Seven Checks Before You Keep Them", proposes seven review checks to apply to AI-generated tests before keeping them in a test suite.
The seven checks are: name the user risk; break the product; check the final result; change the data; read the failure; repeat the run; then decide whether the test could stop a bad release.
The author states that AI can write a clean test in seconds, that the file may look finished, the names may sound correct and the test may even pass, and that none of those facts prove value.
The author's standard: a useful test catches a failure that matters to users, and the review must find that proof before the test joins the suite.
The risk statement should answer who loses something and what they lose; money, time, access and trust are described as clear answers, while "the feature breaks" is not.
The example risk given is "A customer sees the wrong total and pays too much"; the article says to avoid risks like "checkout may fail" because that sentence does not name the damage and gives the test no clear target.
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
Single self-published practitioner argument with illustrative code only
All content traces to one dev.to post by one author. The Playwright snippets are internally coherent and specific enough to reproduce, and the derived structure of the checklist is verifiable from the text, which lifts evidence above the floor. But nothing beyond the article corroborates it: no measured defect-catch rate, no sample of generated tests, no timing data for the claimed few-minute review, and the worked checkout scenario is explicitly hypothetical. Two claims are marked insufficient for exactly this reason.
No adoption signal in the supplied material
The source reports no release, deployment, usage disclosure, benchmark result or team uptake of the seven-check review. It is one author describing his own practice, with a hypothetical checkout example rather than a deployed pipeline, so no adoption level can be measured without inventing facts.
Mildly overstated: prescriptive generalizations outrun the shown evidence
The framing is modest for the genre - no product launch, no extraordinary capability claim, and the advice itself (assert outcomes, break the system to prove the test fails, vary inputs, rerun) is conventional testing discipline stated plainly. The gap is small and positive because the article generalizes about how AI writes tests and how long the review takes, and implies the resulting suite gains trustworthy proof, none of which is measured; the title-level assertion that a passing test is not evidence is argued rather than demonstrated.
Self-published practitioner with disclosed professional stake in AI testing
The author signs off as someone who builds AI systems and measurement tools, runs independent LLM benchmarks and builds production test systems, and points readers to his own site and LinkedIn. That is a visible professional interest in being read as an authority on reviewing AI-generated tests, on a self-service platform with no editorial gatekeeping. Mitigating factors keep this mid-range rather than high: no product is sold, no vendor tool is promoted beyond a neutral mention of Playwright's waiting assertions, and the stake is openly stated in the bio.
Low: attribution is solid, substance is unverified
Confidence in what the article says is high - the text is explicit and the snippets are quotable - so the descriptive claims are safely supported. Confidence in whether the method works, how widely it is used, or how much time it costs is low, because there is one publisher, one author, zero adoption evidence and zero measurement, and a moderate self-promotional incentive around the claim of expertise.
build
CI cannot tell a regression from a stale test because nobody wrote the intent down1 distinct publisher
build
The 46GB Leak Your RSS Alert Cannot See: macOS Compressed Memory Breaks Threshold Monitoring1 distinct publisher
build
The prompt never arrived: a Windows batch shim was worth 15 of 24 runs in an agent eval1 distinct publisher
build
Flaky CI is a review standards problem, and this checklist names the three gates1 distinct publisher
Distinct publishers with included, body-backed reporting in this cluster.
dev.to
1 article · August 15, 2026