<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Test Driven Development on Joseph Hale</title>
    <link>https://thehale.dev/topics/test-driven-development/</link>
    <description>Recent content in Test Driven Development on Joseph Hale</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    
    
    
    
      <lastBuildDate>Mon, 23 Nov 2026 19:05:52 -0700</lastBuildDate>
    
    <atom:link href="https://thehale.dev/topics/test-driven-development/index.xml" rel="self" type="application/rss+xml" />
      <item>
        <title>How I Write Tests</title>
        <link>https://thehale.dev/essays/how-i-write-tests/</link>
        <pubDate>Sun, 14 Dec 2025 00:00:00 +0000</pubDate>
        <guid>https://thehale.dev/essays/how-i-write-tests/</guid>
        <description>&lt;p&gt;I tend to like writing tests more than the average Joe 🥁. For me, there&amp;rsquo;s something really satisfying about using a test to figure out how I want an API surface to feel, iterating on the failing test until the error message is exactly what I want to see in the test log if the feature breaks, then implementing the feature and seeing the test pass as expected, followed by refining both the implementation and test code to a state that I&amp;rsquo;d be happy to revisit/reread in 2 years.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Using Quasar in a custom Vue component library</title>
        <link>https://thehale.dev/guides/quasar-component-library-storybook/</link>
        <pubDate>Fri, 01 Mar 2024 00:00:00 +0000</pubDate>
        <guid>https://thehale.dev/guides/quasar-component-library-storybook/</guid>
        <description>&lt;p&gt;&lt;a href=&#34;https://quasar.dev/?utm_source=thehale.dev&amp;amp;utm_medium=newsletter&amp;amp;utm_campaign=quasar-component-library-storybook&#34; rel=&#34;noopener&#34; target=&#34;_blank&#34;&gt;&lt;span&gt;Quasar&lt;/span&gt;&lt;span aria-hidden=&#34;true&#34;&gt;&lt;svg xmlns=&#34;http://www.w3.org/2000/svg&#34; viewBox=&#34;0 0 512 512&#34;&gt;&lt;!--! Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc. --&gt;&lt;path d=&#34;M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z&#34;/&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/a&gt; is a popular Vue framework with a large component library and best-in-class support for building apps for web/mobile/browser extension/electron/etc. from the same codebase. Yet, despite significant community interest, it has been difficult to find solid, versatile answers for how to create custom component libraries based on Quasar. This tutorial provides those answers, demonstrating how to create a standalone Quasar component library which can be used in any Vue application, whether or not that app runs via the Quasar CLI, the Vue CLI, or another tool.&lt;/p&gt;</description>
      </item>
      <item>
        <title>Creating a custom Vue component library with Storybook and Vitest</title>
        <link>https://thehale.dev/guides/vue-component-library-storybook-vitest/</link>
        <pubDate>Thu, 29 Feb 2024 00:00:00 +0000</pubDate>
        <guid>https://thehale.dev/guides/vue-component-library-storybook-vitest/</guid>
        <description>&lt;p&gt;Many developers are familiar with using a component library (e.g. Vuetify, Quasar, PrimeVue, etc.), but there comes a time when it&amp;rsquo;s useful to create your own.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Multiple projects which should share custom components.&lt;/li&gt;&#xA;&lt;li&gt;A large project which is hard to test.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This comprehensive, step-by-step guide&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; will take you from a new, empty folder all the way to a fully-functional component library with robust automated testing tools which follow software engineering best practices. The techniques described here are neither theoretical nor a mere &amp;ldquo;proof-of-concept&amp;rdquo; &amp;ndash; they have been used successfully in critical production applications.&lt;/p&gt;</description>
      </item>
  </channel>
</rss>
