<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Snapshot Testing on Mobile Dev Diary</title>
    <link>https://www.mobiledevdiary.com/tags/snapshot-testing/</link>
    <description>Recent content in Snapshot Testing on Mobile Dev Diary</description>
    <image>
      <title>Mobile Dev Diary</title>
      <url>https://www.mobiledevdiary.com/mobile-dev-diary.jpg</url>
      <link>https://www.mobiledevdiary.com/mobile-dev-diary.jpg</link>
    </image>
    <generator>Hugo -- 0.141.0</generator>
    <language>en</language>
    <lastBuildDate>Thu, 06 Jun 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.mobiledevdiary.com/tags/snapshot-testing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Testing SwiftUI Code - The beginning (UI)</title>
      <link>https://www.mobiledevdiary.com/posts/series/testing-swiftui-code-in-tdd/testing-swiftui-code-the-beginning/</link>
      <pubDate>Thu, 06 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://www.mobiledevdiary.com/posts/series/testing-swiftui-code-in-tdd/testing-swiftui-code-the-beginning/</guid>
      <description>&lt;h2 id=&#34;intro&#34;&gt;Intro&lt;/h2&gt;
&lt;p&gt;Hello everyone and welcome to my first (ever) blog series!&lt;/p&gt;
&lt;p&gt;Today, I&amp;rsquo;m going to begin experimenting with SwiftUI. The mission is to build a small application and having it fully tested 💯. I decided to go for that quest to broaden my knowledge around SwiftUI and verify the rumors that it cannot be tested.&lt;/p&gt;
&lt;p&gt;To keep it relatively readable I decided to split it up and we&amp;rsquo;re going to see how many parts we end up with.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Testing SwiftData and the Query property wrapper through an example</title>
      <link>https://www.mobiledevdiary.com/posts/testing-swiftdata-and-the-query-property-wrapper-through-an-example/</link>
      <pubDate>Sun, 25 Jun 2023 00:00:00 +0000</pubDate>
      <guid>https://www.mobiledevdiary.com/posts/testing-swiftdata-and-the-query-property-wrapper-through-an-example/</guid>
      <description>&lt;p&gt;We’re just after this year’s WWDC where we had a chance to witness the unveiling of a new persistence framework called SwiftData. Naturally, I couldn’t resist delving deeper into it. One particular topic that caught my attention was the observation of local storage using Query and its testability.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;intro_image&#34; loading=&#34;lazy&#34; src=&#34;https://www.mobiledevdiary.com/posts/testing-swiftdata-and-the-query-property-wrapper-through-an-example/images/intro_image.jpeg&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;swiftdata&#34;&gt;SwiftData&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;SwiftData makes it easy to persist data using declarative code. You can query and filter data using regular Swift code. And it’s designed to integrate seamlessly with SwiftUI.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
