<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Testing on Andrew Walsh</title><link>https://www.awalsh128.com/tags/testing/</link><description>Recent content in Testing on Andrew Walsh</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><copyright>© 2026 Andrew Walsh</copyright><lastBuildDate>Sat, 01 Aug 2026 16:28:39 -0700</lastBuildDate><atom:link href="https://www.awalsh128.com/tags/testing/feed.xml" rel="self" type="application/rss+xml"/><item><title>Testing framework for VSCode extension development</title><link>https://www.awalsh128.com/vscode-ext-dev-and-testing/</link><pubDate>Sat, 01 Aug 2026 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/vscode-ext-dev-and-testing/</guid><description>&lt;p&gt;I created a VSCode extension recently&#10;(&lt;a href="https://github.com/awalsh128/vscode-keep-sorted" target="_blank" rel="noreferrer"&gt;awalsh128/vscode-keep-sorted&lt;/a&gt;) and learned a lot of lessons&#10;trying to set up the test environment. What I wanted was:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Tests that run against a real VSCode instance, not mocks.&lt;/li&gt;&#10;&lt;li&gt;An immutable test workspace, so every test starts from the same files.&lt;/li&gt;&#10;&lt;li&gt;A log file per test, so I can see what the extension did when a test fails.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Principles&#10; &lt;div id="principles" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#principles" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;Some things I learned the hard way about testing extensions.&lt;/p&gt;</description></item><item><title>Automated Testing for GitHub Actions</title><link>https://www.awalsh128.com/automated-testing-for-github-actions/</link><pubDate>Tue, 12 Oct 2021 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/automated-testing-for-github-actions/</guid><description>Create a testing harness for your created GitHub Actions.</description></item><item><title>Using CC.NET &amp; Gallio for priority based smoke testing.</title><link>https://www.awalsh128.com/using-ccnet-gallio-for-priority-based/</link><pubDate>Fri, 17 Oct 2014 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/using-ccnet-gallio-for-priority-based/</guid><description>&lt;h3 class="relative group"&gt;Pitfalls in Production&#10; &lt;div id="pitfalls-in-production" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#pitfalls-in-production" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;Being able to monitor&#10;&lt;a href="http://en.wikipedia.org/wiki/Development_environment_%28software_development_process%29" target="_blank" rel="noreferrer"&gt;production&lt;/a&gt; services&#10;for potential errors is critical. Especially if the services are dependant on external resources which may&#10;become unavailable or exhibit unexpected behavior. Even if you follow good software development discipline,&#10;this is always a source of concern. Think network outages, unannounced third party API changes, hosted&#10;services becoming unavailable, etc.&lt;/p&gt;</description></item><item><title>Automated combinatorial and spot testing of web service operations.</title><link>https://www.awalsh128.com/automated-combinatorial-and-spot/</link><pubDate>Tue, 26 Mar 2013 00:00:00 -0700</pubDate><guid>https://www.awalsh128.com/automated-combinatorial-and-spot/</guid><description>&lt;h3 class="relative group"&gt;Introduction &amp;amp; Scope&#10; &lt;div id="introduction--scope" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#introduction--scope" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h3&gt;&#10;&lt;p&gt;When developing a new web service, you may need to do an initial spot test walk through the operations or try&#10;to break the service based on the permissible data type values. You could hand craft all the operations, with&#10;their respective arguments, into a handful of URLs but that would seem pretty inefficient. I found myself in a&#10;similar situation and wanted a programmatic way to walk through the service operations with a specific input&#10;data set. To be clear, I am not attempting to recreate a&#10;&lt;a href="http://www.soapui.org/" target="_blank" rel="noreferrer"&gt;full web service testing application&lt;/a&gt; but rather a simple script to spot check&#10;responses and catch any bugs in a web service endpoint's handler.&lt;/p&gt;</description></item></channel></rss>