<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Stanciu Valentin on Medium]]></title>
        <description><![CDATA[Stories by Stanciu Valentin on Medium]]></description>
        <link>https://medium.com/@stvalentin?source=rss-100d26f9b3cc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Stanciu Valentin on Medium</title>
            <link>https://medium.com/@stvalentin?source=rss-100d26f9b3cc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 22:42:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@stvalentin/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[SwiftUI — InsetGroupedListStyle list style]]></title>
            <link>https://medium.com/@stvalentin/swiftui-insetgroupedliststyle-list-style-7dea4d661648?source=rss-100d26f9b3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/7dea4d661648</guid>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Stanciu Valentin]]></dc:creator>
            <pubDate>Wed, 09 Aug 2023 19:52:49 GMT</pubDate>
            <atom:updated>2023-08-09T19:52:49.920Z</atom:updated>
            <content:encoded><![CDATA[<h3>SwiftUI — InsetGroupedListStyle list style</h3><p>InsetGroupedListStyle is a list style that describes the behavior and appearance of an inset grouped list. It was introduced in iOS 15 and is the default list style for grouped lists. InsetGroupedListStyle provides a more modern and visually appealing style for grouped lists than the previous default list style, GroupedListStyle.</p><p>Here is an example of how to use InsetGroupedListStyle to create a grouped list:</p><pre>struct GroupedListView: View {<br>    @State private var data = [&quot;Item 1&quot;, &quot;Item 2&quot;, &quot;Item 3&quot;, &quot;Item 4&quot;, &quot;Item 5&quot;]<br>      var body: some View {<br>        List(data, id: \.self) { item in<br>            Text(item)<br>        }<br>        .listStyle(InsetGroupedListStyle())<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*36mlbdwEEAZI6XuE9I0mBQ.png" /></figure><p>This code will create a grouped list with the following appearance:</p><ul><li>The items in the list will be grouped into sections.</li><li>The sections will be indented slightly.</li><li>The items in each section will be evenly spaced.</li><li>The list will have a header that displays the name of each section.</li></ul><p>InsetGroupedListStyle provides a number of customization options that allow you to further control the appearance of your grouped lists. For example, you can use the following modifiers to customize the list’s header, footer, and section insets:</p><ul><li>headerProminence: This modifier controls the opacity of the list’s header.</li><li>footerProminence: This modifier controls the opacity of the list’s footer.</li><li>sectionInset: This modifier controls the insets of the list’s sections.</li></ul><p>For more information about InsetGroupedListStyle, please see the Apple Developer documentation: <a href="https://developer.apple.com/documentation/swiftui/insetgroupedliststyle.">https://developer.apple.com/documentation/swiftui/insetgroupedliststyle.</a></p><p>Here are some additional tips for using InsetGroupedListStyle in your iOS apps:</p><ul><li>Use InsetGroupedListStyle for lists that contain a large number of items. The inset style helps to make the list more visually appealing and easier to scan.</li><li>Use InsetGroupedListStyle for lists that contain items with different heights. The inset style helps to ensure that the items are evenly spaced in the list.</li><li>Use InsetGroupedListStyle for lists that are used to display hierarchical data. The inset style helps to make the hierarchy of the data more visually apparent.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7dea4d661648" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unit tests over end to end testing]]></title>
            <link>https://medium.com/@stvalentin/unit-tests-over-end-to-end-testing-8a6abbc0a91e?source=rss-100d26f9b3cc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a6abbc0a91e</guid>
            <category><![CDATA[e2e-testing]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[e2e]]></category>
            <category><![CDATA[tdd]]></category>
            <dc:creator><![CDATA[Stanciu Valentin]]></dc:creator>
            <pubDate>Mon, 10 Jul 2023 20:29:47 GMT</pubDate>
            <atom:updated>2023-07-10T20:29:47.078Z</atom:updated>
            <content:encoded><![CDATA[<p>As a programmer, it is beneficial to prioritize unit testing with code coverage over writing end-to-end testing for several reasons:</p><ol><li>Granularity and Isolation: Unit tests focus on individual units of code, such as functions or methods, allowing for more granular testing. This isolation helps in identifying and fixing specific issues within the codebase, leading to faster debugging and troubleshooting.</li></ol><p>2. Early Bug Detection: Unit testing facilitates catching bugs early in the development process. By testing small units of code in isolation, issues can be identified and fixed swiftly, preventing them from propagating throughout the system.</p><p>3. Rapid Feedback Loop: Unit tests provide a fast feedback loop, enabling developers to iterate quickly. Running unit tests is usually much faster compared to executing end-to-end tests, allowing for frequent testing during the development cycle and supporting a more agile development approach.</p><p>4. Maintainability and Refactoring: Well-designed unit tests act as a safety net when making changes to the code. They help ensure that existing functionality remains intact after modifications or refactoring. This makes code maintenance and future enhancements easier and reduces the risk of introducing regressions.</p><p>5. Code Coverage: Code coverage metrics measure the proportion of code covered by tests. Focusing on code coverage ensures that the majority of the codebase is tested, increasing confidence in the overall quality of the software. It helps identify untested or poorly tested areas that might be prone to errors.</p><p>While end-to-end testing is essential for validating the system’s behavior as a whole, it tends to be slower, more complex, and can be expensive to set up and maintain. Prioritizing unit testing with good code coverage strikes a balance by catching bugs early, providing fast feedback, and supporting maintainability while still complementing it with end-to-end testing where necessary.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a6abbc0a91e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>