<?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 Vishwanath Shankar on Medium]]></title>
        <description><![CDATA[Stories by Vishwanath Shankar on Medium]]></description>
        <link>https://medium.com/@vishwa-s787?source=rss-15f9a6d23596------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*pS3r31HKdMCduPI5</url>
            <title>Stories by Vishwanath Shankar on Medium</title>
            <link>https://medium.com/@vishwa-s787?source=rss-15f9a6d23596------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 20:57:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishwa-s787/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[A practical introduction to Test Driven Development (TDD)]]></title>
            <link>https://vishwa-s787.medium.com/a-practical-introduction-to-test-driven-development-tdd-8582f2dbca36?source=rss-15f9a6d23596------2</link>
            <guid isPermaLink="false">https://medium.com/p/8582f2dbca36</guid>
            <category><![CDATA[test-driven-development]]></category>
            <category><![CDATA[agile-development]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[clean-code]]></category>
            <dc:creator><![CDATA[Vishwanath Shankar]]></dc:creator>
            <pubDate>Mon, 15 Feb 2021 18:18:39 GMT</pubDate>
            <atom:updated>2021-02-16T12:06:08.102Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>A practical introduction to Test Driven Development (TDD): Part-1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*y9Cj8BCRTueaoOBpy6R1cg.png" /></figure><p>Have you ever come across a situation where you felt that the code you wrote was at excellent production quality level?</p><p><strong>If yes</strong>, then definitely you would have come across a situation where the code you wrote produced excellent bugs in production.</p><p>If you are feeling connected, then this article is for you.</p><p><strong>Have you ever wondered/pondered?</strong></p><p>Why is that you were able to write excellent production quality code in certain modules/products?</p><p><strong>VS</strong></p><p>Why is that you wrote a code in certain modules/products which were full of bugs?</p><p><strong>Think through……</strong></p><p>Well we will be able to reason it out for many common factors such as:</p><ol><li>I did a POC and that POC code was pushed to production.</li></ol><p>2. There was time constraint/pressure.</p><p>3. I did not understand the requirement correctly.</p><p><strong>And so on.</strong></p><p>Well if you are a <strong>developer by heart</strong>, then you know that there is 1 major reason why you wrote a code which performed so well in production without major bugs.</p><p><strong>The reason is:</strong></p><p>1. Your code was able to handle most of the corner/edge scenarios.</p><p><strong>Then comes the next question.</strong></p><p>What happened to the production quality code which you wrote after a few months? (Assuming that there was active development in the module/product).</p><p>Did it remain bug free even after numerous changes to the module/product?</p><p>If the answer is “<strong>Yes</strong>”, then you know that it was because of the <strong>rock-solid unit tests</strong> which you had written for that module/product.</p><p>If the answer is “<strong>No</strong>”, then you know that it was because of <strong>not having unit tests which tested the functionality</strong> of the code rather you might have had <strong>unit tests just for the code coverage numbers</strong>.</p><p>So, let us <strong>summarize </strong>what does it <strong>cost for business/organizations</strong> who are heavily banking upon software for their success.</p><p><strong>Scenario 1: “Having rock solid unit tests for the code”</strong></p><p>1. Feature development will be <strong>faster</strong>.</p><p>2. Feature development across teams will have a <strong>predictable cadence</strong>.</p><p>3. <strong>Less bugs</strong> in production.</p><p>4. Developers will have the <strong>confidence to refactor the code</strong>.</p><p>5. The codebase will be <strong>agile</strong>, any changes requested will take less time.</p><p>6. Teams will be truly <strong>agile</strong> in terms of <strong>software development, delivery</strong>.</p><p>7. Fosters “<strong>Team and Technical agility</strong>” across teams.</p><p>8. Product delivered will be of <strong>high quality</strong>.</p><p>9. Business/Organizations will be able to take the <strong>product much faster and with higher quality to the market</strong>.</p><p>10. Business/Organizations <strong>succeed</strong> in their <strong>mission and vision</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZC71cnq9oTa_0KDwLjnFyA.png" /></figure><p><strong>Scenario 2: “Having unit tests just for the sake of code coverage numbers”</strong></p><p>1. Feature development will be <strong>slower</strong>.</p><p>2. Feature development across teams will <strong>not have a predictable cadence</strong>.</p><p>3. <strong>More bugs</strong> in production.</p><p>4. Developers <strong>will not have the confidence to refactor the code</strong>.</p><p>5. The codebase will <strong>not be agile</strong>, any changes requested will take <strong>more time</strong>.</p><p>6. Teams will <strong>not be agile </strong>in terms of software development or delivery.</p><p>7. Teams will <strong>lack in “Team and Technical agility</strong>”.</p><p>8. Product delivered will be of <strong>substandard quality</strong>.</p><p>9. Business/Organizations will <strong>struggle to take the product on time to the market</strong>.</p><p>10. Business/Organizations will <strong>struggle to deliver a quality product</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*bvfWG0rS4f_4kp3Eh84jVA.png" /></figure><p>When we know what it takes to build a production quality code, then why is that most business/organizations are struggling to maintain their “Team and Technical Agility”.</p><p>The reason is obvious, writing <strong>rock-solid unit tests</strong> which tests the functionality along with the development cycle is the <strong>trademark quality of good software developers</strong>.</p><h3><strong>Good software developers are very hard to find!!</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I-IURleNU3fBiMHJe5M2pA.png" /></figure><p><strong>Is there any magic bullet for this problem?</strong></p><p>Yes, by <strong>following Test Driven Development</strong>, <strong>TDD ensures/enforces rock-solid unit tests</strong> during the development cycle which in turn ensures “Team and Technical Agility” which in turn ensures “Business Agility”</p><p>In the <strong>upcoming articles + video sessions around TDD</strong>, I will cover the below topics:</p><p><strong>1.</strong> <strong>How to start with TDD.</strong></p><p><strong>2. Tools and Frameworks to support TDD.</strong></p><p><strong>3. Practically implementation of TDD using a real-world business problem.</strong></p><p><strong>4. How TDD ensures rock-solid unit tests.</strong></p><p><strong>5. Practical challenges in implementing TDD.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8582f2dbca36" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>