<?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: Sam Fisher</title>
    <description>The latest articles on DEV Community by Sam Fisher (@fisher_51).</description>
    <link>https://dev.to/fisher_51</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%2F4211023%2Fff9964c6-7b0e-480c-9295-4c81b2f2beef.jpg</url>
      <title>DEV Community: Sam Fisher</title>
      <link>https://dev.to/fisher_51</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fisher_51"/>
    <language>en</language>
    <item>
      <title>dbt tests that actually catch bad data</title>
      <dc:creator>Sam Fisher</dc:creator>
      <pubDate>Tue, 27 Oct 2026 15:26:14 +0000</pubDate>
      <link>https://dev.to/fisher_51/dbt-tests-that-actually-catch-bad-data-a80</link>
      <guid>https://dev.to/fisher_51/dbt-tests-that-actually-catch-bad-data-a80</guid>
      <description>&lt;p&gt;Most dbt test suites I've inherited check &lt;code&gt;not_null&lt;/code&gt; and &lt;code&gt;unique&lt;/code&gt; and not much else. Those catch schema problems, not business problems.&lt;/p&gt;

&lt;p&gt;The tests that have saved us:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;accepted_values&lt;/code&gt; for status columns (catch typo'd statuses)&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;relationships&lt;/code&gt; test on every foreign key&lt;/li&gt;
&lt;li&gt;A custom test for "row count per day should be within 30% of last week"&lt;/li&gt;
&lt;li&gt;Freshness checks on source tables&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The custom tests took an afternoon and have caught two silent pipeline failures.&lt;/p&gt;

&lt;p&gt;I'm learning GraphQL next, mostly because our analytics API is moving that direction. Data people: how are you testing your marts?&lt;/p&gt;

</description>
      <category>dataengineering</category>
      <category>dbt</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
