<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel Vančo</title>
    <description>The latest articles on DEV Community by Daniel Vančo (@dano_vanco).</description>
    <link>https://dev.to/dano_vanco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F331999%2F505022a5-ecb6-4c63-be27-640ae31e0134.png</url>
      <title>DEV Community: Daniel Vančo</title>
      <link>https://dev.to/dano_vanco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dano_vanco"/>
    <language>en</language>
    <item>
      <title>Your coding agent says "all tests pass". Ask how many ran.</title>
      <dc:creator>Daniel Vančo</dc:creator>
      <pubDate>Tue, 01 Dec 2026 22:27:55 +0000</pubDate>
      <link>https://dev.to/dano_vanco/your-coding-agent-says-all-tests-pass-ask-how-many-ran-jcf</link>
      <guid>https://dev.to/dano_vanco/your-coding-agent-says-all-tests-pass-ask-how-many-ran-jcf</guid>
      <description>&lt;p&gt;A coding agent finishes a task and ends its summary with the line everyone wants to read:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;All tests pass.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There's one follow-up question worth asking every time: how many of them ran?&lt;/p&gt;

&lt;p&gt;Here is a test file with three tests. Every one of them fails if it runs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# test_checkout.py&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pytest&lt;/span&gt;

&lt;span class="n"&gt;pytestmark&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pytest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mark&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;skipif&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"DATABASE_URL"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;reason&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"needs a database"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;test_total_includes_vat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"never runs without DATABASE_URL"&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;test_discount_is_applied_once&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"never runs without DATABASE_URL"&lt;/span&gt;


&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;test_refund_restores_stock&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="kc"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"never runs without DATABASE_URL"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And here is pytest 9.2 on a machine with no &lt;code&gt;DATABASE_URL&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ pytest -q
sss                                                                      &lt;span class="o"&gt;[&lt;/span&gt;100%&lt;span class="o"&gt;]&lt;/span&gt;
3 skipped &lt;span class="k"&gt;in&lt;/span&gt; 0.01s
$ &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$?&lt;/span&gt;
0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Zero tests ran. Exit code zero. For any script, CI job or agent that checks &lt;code&gt;$?&lt;/code&gt;, that was a successful test run.&lt;/p&gt;

&lt;p&gt;Jest 30.5 does the same with the usual "only when there's a database" pattern:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// checkout.test.js&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;describeDb&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;DATABASE_URL&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;describe&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;describe&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;skip&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="nf"&gt;describeDb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'checkout'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'total includes VAT'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'never runs without DATABASE_URL'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="c1"&gt;// ...and two more like it&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ npx jest
Test Suites: 1 skipped, 0 of 1 total
Tests:       3 skipped, 3 total
Snapshots:   0 total
Time:        0.448 s
Ran all &lt;span class="nb"&gt;test&lt;/span&gt; suites.
$ &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$?&lt;/span&gt;
0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;"Ran all test suites." It ran zero of one. Ask for the machine-readable version with &lt;code&gt;--json&lt;/code&gt; and you get &lt;code&gt;"numPassedTests": 0&lt;/code&gt;, &lt;code&gt;"numPendingTests": 3&lt;/code&gt; and &lt;code&gt;"success": true&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The runner isn't wrong
&lt;/h2&gt;

&lt;p&gt;Skipping by default is a sane design for the person it was designed for: a developer at their own machine. You see the yellow &lt;code&gt;sss&lt;/code&gt;, you remember you never installed Postgres on this laptop, you shrug. CI will run the real thing later.&lt;/p&gt;

&lt;p&gt;Both runners even guard the case next door. If your filter matches no tests at all, pytest exits with code 5 and Jest prints &lt;code&gt;No tests found, exiting with code 1&lt;/code&gt;. So somebody already decided that "nothing ran" shouldn't look like success. A skipped test just doesn't count as nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why an agent makes it worse
&lt;/h2&gt;

&lt;p&gt;An agent works in a fresh container. No database, no Redis, no browser binary for the end-to-end suite. That is exactly where all the "skip if the thing isn't there" branches fire. A suite that runs in full on your laptop can be half asleep in there.&lt;/p&gt;

&lt;p&gt;The one reading the output is a model trying to decide whether it's done. Exit code 0 is the strongest "done" signal it will ever get, and it gets it.&lt;/p&gt;

&lt;p&gt;And you don't read the output. You read a summary of the output. &lt;code&gt;3 skipped in 0.01s&lt;/code&gt; becomes "the test suite passes" in a single paraphrase, and nobody in that chain lied. The runner reported the skips. The agent reported success, as the exit code told it to. The information just didn't survive the trip.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do about it, cheapest first
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Make skips fail where the environment is supposed to be complete
&lt;/h3&gt;

&lt;p&gt;A skip caused by a missing service is fine on a laptop. In CI, or in the container you built specifically so an agent can run the tests, it means the environment is broken. That should be loud.&lt;/p&gt;

&lt;p&gt;For pytest, a few lines in &lt;code&gt;conftest.py&lt;/code&gt; turn skips into errors when you ask for it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# conftest.py&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;pytest&lt;/span&gt;


&lt;span class="nd"&gt;@pytest&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;hookimpl&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hookwrapper&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;pytest_runtest_makereport&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;call&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;outcome&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;yield&lt;/span&gt;
    &lt;span class="n"&gt;report&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;outcome&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_result&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"NO_SKIPS"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;skipped&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="nb"&gt;hasattr&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"wasxfail"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;reason&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;longrepr&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;isinstance&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;longrepr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;tuple&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;longrepr&lt;/span&gt;
        &lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;outcome&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"failed"&lt;/span&gt;
        &lt;span class="n"&gt;report&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;longrepr&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"skip is not allowed in this run: {reason}"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ &lt;span class="nv"&gt;NO_SKIPS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1 pytest -q
EEE                                                                      &lt;span class="o"&gt;[&lt;/span&gt;100%&lt;span class="o"&gt;]&lt;/span&gt;
&lt;span class="o"&gt;====================================&lt;/span&gt; ERRORS &lt;span class="o"&gt;====================================&lt;/span&gt;
__________________ ERROR at setup of test_total_includes_vat ___________________
skip is not allowed &lt;span class="k"&gt;in&lt;/span&gt; this run: Skipped: needs a database
&lt;span class="o"&gt;[&lt;/span&gt;...&lt;span class="o"&gt;]&lt;/span&gt;
3 errors &lt;span class="k"&gt;in&lt;/span&gt; 0.01s
$ &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$?&lt;/span&gt;
1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;wasxfail&lt;/code&gt; check leaves expected failures alone, so &lt;code&gt;xfail&lt;/code&gt; keeps working.&lt;/p&gt;

&lt;p&gt;Jest has no flag for this, but the JSON report has the number:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;$ npx jest --json --outputFile=result.json
$ node -e &lt;span class="s2"&gt;"const r = require('./result.json'); if (r.numPendingTests &amp;gt; 0) { console.error(r.numPendingTests + ' tests did not run'); process.exit(1); }"&lt;/span&gt;
3 tests did not run
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You will still want some skips (Windows-only tests, the flaky one in quarantine), so keep it a switch and flip it only in places where a skip means something is missing. If you can't flip it yet, at least run pytest with &lt;code&gt;-rs&lt;/code&gt;. It prints every skip with its reason at the end of the run instead of a row of &lt;code&gt;s&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Ask for counts, not adjectives
&lt;/h3&gt;

&lt;p&gt;If you give your agent written rules (CLAUDE.md, AGENTS.md, a system prompt, whatever your tool reads), "make sure the tests pass" invites exactly the sentence this post started with. Ask for something you can check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;When you report test results, give for each command you ran: the exact command,
its exit code, and how many tests passed, failed and were skipped.
List every skipped test with its reason.
Never describe a run with skipped tests as "tests pass".
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can't verify "all tests pass" from where you sit. You can verify "&lt;code&gt;pytest -q&lt;/code&gt;: 41 passed, 3 skipped (needs a database), exit 0", and it tells you where to look.&lt;/p&gt;

&lt;p&gt;A rule in a prompt is still only a request, which is why this is number two and the conftest is number one.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Give the report a third state
&lt;/h3&gt;

&lt;p&gt;Most reports have two outcomes, passed and failed. "Couldn't check" has to land in one of them, and it never lands in failed.&lt;/p&gt;

&lt;p&gt;So add a third. For each thing the change was supposed to do:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Criterion&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Evidence&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Order total includes VAT&lt;/td&gt;
&lt;td&gt;passed&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;test_total_includes_vat&lt;/code&gt;, ran against Postgres&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Discount code applies once per order&lt;/td&gt;
&lt;td&gt;unverified&lt;/td&gt;
&lt;td&gt;test skipped: needs a database&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Expired code shows an error message&lt;/td&gt;
&lt;td&gt;passed&lt;/td&gt;
&lt;td&gt;&lt;code&gt;test_expired_code_message&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Unverified doesn't block anything by itself. It hands a decision back to you: check it by hand, or fix the environment so it can be checked next time. For a copy change, by hand is fine. For money math I'd wire up the database.&lt;/p&gt;

&lt;p&gt;If you can, don't let the session that wrote the code write this report. It already believes the code works. A fresh session that gets only the diff and the criteria has less to defend.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where I ended up
&lt;/h2&gt;

&lt;p&gt;Disclosure: I build &lt;a href="https://mergehand.com" rel="noopener noreferrer"&gt;Mergehand&lt;/a&gt;. It runs coding agents on your own machine and takes a ticket to a merge request, with a person approving the plan and then the result. So I had to pick a side on all of the above, and the test step works the way I just described. A fresh agent that didn't write the code checks every acceptance criterion from the approved plan and reports it as passed, failed or unverified, with evidence. The repository's own checks get a separate table, where "not run" is a legal value with the reason next to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F73ily4gg5kokfzc2470m.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F73ily4gg5kokfzc2470m.webp" alt="Test report in Mergehand: each acceptance criterion with its result and evidence, and a table of other checks where visual regression is marked NOT RUN because there is no browser on the runner" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Look at the last row: visual regression, NOT RUN, no browser on the runner. Anywhere else that row would have been a quiet skip. There's a &lt;a href="https://mergehand.com/example" rel="noopener noreferrer"&gt;click-through example task&lt;/a&gt; with the whole report if you want to poke at it, no signup needed.&lt;/p&gt;

&lt;p&gt;None of the three fixes needs my tool, or any tool. The conftest is a dozen lines. Start there.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does your runner do?
&lt;/h2&gt;

&lt;p&gt;The reproductions above are pytest 9.2 and Jest 30.5. What does your stack do with skips in CI? I'm curious about Go's &lt;code&gt;t.Skip&lt;/code&gt;, RSpec's &lt;code&gt;pending&lt;/code&gt; and PHPUnit in particular, and whether anybody uses a runner where "everything was skipped" fails by default.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written with AI assistance. Every command and output in this post was actually run.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>devops</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
