<?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 Omar H.Ajmi | Python, Java, Terraform &amp; DevOps TILs</title>
    <link>https://omar-ajmi.de5.net/tags/testing/</link>
    <description>Recent content in Testing on Omar H.Ajmi | Python, Java, Terraform &amp; DevOps TILs</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 30 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://omar-ajmi.de5.net/tags/testing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Terraform Tests Without an AWS Bill: Mocking Providers</title>
      <link>https://omar-ajmi.de5.net/posts/en/terraform-mock-provider-tests/</link>
      <pubDate>Fri, 30 Oct 2026 00:00:00 +0000</pubDate>
      
      <guid>https://omar-ajmi.de5.net/posts/en/terraform-mock-provider-tests/</guid>
      <description>&lt;p&gt;You changed a Terraform variable, refactored a module, and want to make sure the configuration still does what you expect. The usual alternative to trusting your eyes? Apply it and see what happens.&lt;/p&gt;
&lt;p&gt;That feedback loop gets expensive when the experiment involves real cloud resources. Fortunately, Terraform has a built-in option for testing configuration logic without provisioning actual infrastructure: &lt;strong&gt;mock providers&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;The idea: replace the real provider&lt;/h3&gt;

&lt;p&gt;Terraform&amp;rsquo;s native testing framework supports provider mocking starting with Terraform 1.7.0. A mock provider simulates provider behavior, allowing tests to run without cloud credentials or real infrastructure. &lt;a href=&#34;https://developer.hashicorp.com/terraform/language/tests/mocking&#34;&gt;Official documentation&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>🧪 AI Makes Writing Code Cheap. Getting It Right Is Still Expensive.</title>
      <link>https://omar-ajmi.de5.net/posts/en/ai-code-generation-is-not-software-engineering/</link>
      <pubDate>Tue, 15 Apr 2025 00:00:00 +0000</pubDate>
      
      <guid>https://omar-ajmi.de5.net/posts/en/ai-code-generation-is-not-software-engineering/</guid>
      <description>&lt;h1 id=&#34;-ai-makes-writing-code-cheap-getting-it-right-is-still-expensive&#34; class=&#34;header-anchor-wrapper&#34;&gt;🧪 AI Makes Writing Code Cheap. Getting It Right Is Still Expensive.
  &lt;a href=&#34;#-ai-makes-writing-code-cheap-getting-it-right-is-still-expensive&#34; class=&#34;header-anchor-link&#34;&gt;
    &lt;svg width=&#34;16px&#34; height=&#34;16px&#34; viewBox=&#34;0 0 24 24&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;24&#34; height=&#34;24&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/svg&gt;
  &lt;/a&gt;
&lt;/h1&gt;


&lt;h2 id=&#34;-fluent-isnt-correct&#34; class=&#34;header-anchor-wrapper&#34;&gt;🧪 Fluent isn&amp;rsquo;t correct
  &lt;a href=&#34;#-fluent-isnt-correct&#34; class=&#34;header-anchor-link&#34;&gt;
    &lt;svg width=&#34;16px&#34; height=&#34;16px&#34; viewBox=&#34;0 0 24 24&#34;&gt;
&lt;svg
    xmlns=&#34;http://www.w3.org/2000/svg&#34;
    width=&#34;24&#34; height=&#34;24&#34; viewBox=&#34;0 0 24 24&#34; fill=&#34;none&#34;
    stroke=&#34;currentColor&#34; stroke-width=&#34;2&#34; stroke-linecap=&#34;round&#34;
    stroke-linejoin=&#34;round&#34;&gt;
    &lt;line x1=&#34;4&#34; y1=&#34;9&#34; x2=&#34;20&#34; y2=&#34;9&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;4&#34; y1=&#34;15&#34; x2=&#34;20&#34; y2=&#34;15&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;10&#34; y1=&#34;3&#34; x2=&#34;8&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;&lt;line x1=&#34;16&#34; y1=&#34;3&#34; x2=&#34;14&#34; y2=&#34;21&#34;&gt;&lt;/line&gt;
&lt;/svg&gt;

&lt;/svg&gt;
  &lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;It&amp;rsquo;s getting easier to produce code. That doesn&amp;rsquo;t automatically make it easier to ship good software.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>