<?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 Surath Embuldeniya on Medium]]></title>
        <description><![CDATA[Stories by Surath Embuldeniya on Medium]]></description>
        <link>https://medium.com/@surathembuldeniyax2005?source=rss-6ea3aa890f2a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Surath Embuldeniya on Medium</title>
            <link>https://medium.com/@surathembuldeniyax2005?source=rss-6ea3aa890f2a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:21:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@surathembuldeniyax2005/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[One of Software Testing’s Biggest Problems Might Have an AI Solution]]></title>
            <link>https://medium.com/@surathembuldeniyax2005/one-of-software-testings-biggest-problems-might-have-an-ai-solution-58e9680d661e?source=rss-6ea3aa890f2a------2</link>
            <guid isPermaLink="false">https://medium.com/p/58e9680d661e</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[Surath Embuldeniya]]></dc:creator>
            <pubDate>Sat, 27 Jun 2026 16:41:36 GMT</pubDate>
            <atom:updated>2026-06-27T16:41:36.068Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve worked in software testing, especially with automation tools like Selenium, you’ve probably faced flaky tests.</p><p>A flaky test is one of the most frustrating things in testing because it can fail one time and pass the next time without any changes to the code. This creates confusion, wastes time, and makes debugging harder.</p><p>Recently, I read a research paper called Flakify: A Black-Box, Language Model-Based Predictor for Flaky Tests, and it gave me a new perspective on how AI can help solve this issue.</p><p>What are flaky tests?</p><p>A flaky test is a test that behaves inconsistently. It might pass during one execution and fail in another, even when the code has not changed. This creates confusion because it becomes difficult to know whether there is an actual bug in the system or if the test itself is unstable.</p><p>Flaky tests usually happen because of:</p><ul><li>Timing issues</li><li>Asynchronous operations</li><li>Threading conflicts</li><li>Resource leaks</li><li>Test dependencies</li><li>External API failures</li><li>Unstable environments</li></ul><p>If a test keeps switching between pass and fail, it’s considered flaky. While this works, it’s expensive because rerunning large test suites takes time and consumes resources.</p><p>his is where AI introduces a smarter solution.</p><p>Recently, I came across a research paper called Flakify, which uses a language model called CodeBERT to predict flaky tests by analyzing only the test code.</p><p>What makes this interesting is that it does not need:</p><ul><li>Production code</li><li>Multiple reruns</li><li>Manual feature engineering</li></ul><p>Instead, it learns patterns directly from the structure of test cases.</p><p>For example, the model can identify risky patterns like:</p><ul><li>Multiple assertions</li><li>Conditional logic inside tests</li><li>Thread creation</li><li>External file or network dependencies</li></ul><p>These are common indicators of instability.</p><p>The results were impressive.</p><p>Flakify achieved:</p><ul><li>79% F1-score on the FlakeFlagger dataset</li><li>98% F1-score on the IDoFT dataset</li></ul><p>This shows strong accuracy in identifying flaky tests and reducing wasted debugging effort.</p><p>As someone working with Selenium and automation testing, this really stood out to me. Flaky tests are one of the biggest hidden costs in test automation. A lot of time gets wasted investigating failures that are not real application bugs.</p><p>Using AI to predict them earlier could improve:</p><ul><li>CI/CD reliability</li><li>Debugging efficiency</li><li>Test quality</li><li>Deployment speed</li></ul><p>I believe AI-driven testing tools like this will become a normal part of software engineering in the future.</p><p>Not to replace testers, but to help them work smarter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58e9680d661e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>