<?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 Michael-F-Bryan</title><link>https://adventures.michaelfbryan.com/tags/testing/</link><description>Recent content in Testing on Michael-F-Bryan</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 26 Aug 2026 15:15:33 +0800</lastBuildDate><atom:link href="https://adventures.michaelfbryan.com/tags/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Run Your Code Generator as a Test</title><link>https://adventures.michaelfbryan.com/posts/run-your-code-generator-as-a-test/</link><pubDate>Sun, 23 Aug 2026 22:05:47 +0800</pubDate><guid>https://adventures.michaelfbryan.com/posts/run-your-code-generator-as-a-test/</guid><description>&lt;p&gt;At some point in a project&amp;rsquo;s life, somebody runs a code generator. Maybe they point a client generator at an OpenAPI document, or feed a &lt;code&gt;.proto&lt;/code&gt; file to &lt;code&gt;protoc&lt;/code&gt;, or write a small script that turns a config file into a lookup table. The output is genuinely useful, so it gets committed, and the project&amp;rsquo;s interfaces improve overnight. Then, being diligent, the author adds a line to the README: &lt;em&gt;&amp;ldquo;After changing the schema, re-run &lt;code&gt;make generate&lt;/code&gt; and commit the result.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;</description></item><item><title>WebAssembly as a Platform for Abstraction</title><link>https://adventures.michaelfbryan.com/posts/wasm-as-a-platform-for-abstraction/</link><pubDate>Sun, 15 Dec 2019 11:55:00 +0800</pubDate><guid>https://adventures.michaelfbryan.com/posts/wasm-as-a-platform-for-abstraction/</guid><description>&lt;p&gt;In a project I&amp;rsquo;ve been playing around with recently, we&amp;rsquo;ve encountered the&#10;dilemma where you want to make it easy for users to write their own&#10;application logic using the system but at the same time want to keep that logic&#10;decoupled from the implementation details of whatever platform the&#10;application is running on.&lt;/p&gt;&#10;&lt;p&gt;If you&amp;rsquo;ve been programming for any amount of time your immediate reaction is&#10;probably &lt;em&gt;&amp;ldquo;why bother mentioning this, doesn&amp;rsquo;t it just fall out of good&#10;library design?&amp;rdquo;&lt;/em&gt;, and normally I would totally agree with you, except I&#10;forgot to mention a couple of important details&amp;hellip;&lt;/p&gt;</description></item></channel></rss>