<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>TDD on Kuldeep Pisda</title><link>https://kdpisda.in/tag/tdd/</link><description>Recent content in TDD on Kuldeep Pisda</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 15 Jul 2026 08:00:00 +0200</lastBuildDate><atom:link href="https://kdpisda.in/tag/tdd/index.xml" rel="self" type="application/rss+xml"/><item><title>Django TDD Patterns: A Visual Field Guide</title><link>https://kdpisda.in/django-tdd-patterns-visual-field-guide/</link><pubDate>Wed, 15 Jul 2026 08:00:00 +0200</pubDate><guid>https://kdpisda.in/django-tdd-patterns-visual-field-guide/</guid><description>&lt;p&gt;Most Django testing tutorials stop at the basics: &amp;ldquo;write a test, watch it fail, make it pass, refactor.&amp;rdquo; While this sounds great in theory, real-world Django applications are infinitely more complex.&lt;/p&gt;
&lt;p&gt;Is TDD even the right framework for apps that are mostly CRUD and ORM glue? Honestly, the case is weaker there—you already know the shape of the interface. TDD earns its keep at the seams: tangled model relationships, multi-layered permission systems, state transitions, and third-party API integrations. That is exactly why this guide focuses there instead of trivial model CRUD.&lt;/p&gt;</description></item><item><title>Test Automation Best Practices That Won't Make You Want to Flip Your Desk</title><link>https://kdpisda.in/test-automation-best-practices-that-wont-make-you-want-to-flip-your-desk/</link><pubDate>Tue, 02 Dec 2025 12:50:48 +0530</pubDate><guid>https://kdpisda.in/test-automation-best-practices-that-wont-make-you-want-to-flip-your-desk/</guid><description>&lt;p&gt;We have all been there. You push a feature, the CI pipeline lights up green, and you move on, only to find a frantic message hours later about a regression in production. That momentary confidence shatters, replaced by a sinking feeling. It&amp;rsquo;s a common story in fast moving startups and scale ups, where the pressure to ship often turns test suites into a fragile, high maintenance burden. The problem is not a lack of tests, but a lack of strategy. Flaky tests and unexpected breaks are often symptoms of deeper issues, where the cost of maintaining the test suite starts to outweigh its benefits.&lt;/p&gt;</description></item><item><title>8 Practical Test Driven Development Examples for Real World Code</title><link>https://kdpisda.in/8-practical-test-driven-development-examples-for-real-world-code/</link><pubDate>Fri, 28 Nov 2025 12:37:44 +0530</pubDate><guid>https://kdpisda.in/8-practical-test-driven-development-examples-for-real-world-code/</guid><description>&lt;p&gt;&amp;ldquo;Just write the test first.&amp;rdquo; It sounds so simple, right? But I remember staring at a blank test file for a new feature, completely paralyzed. My mind raced: &amp;ldquo;How can I test something that doesn&amp;rsquo;t exist? What if I write the wrong test? Am I just wasting time?&amp;rdquo; The promise of bug free, beautiful code felt miles away from the reality of my blinking cursor.&lt;/p&gt;
&lt;p&gt;This article is the guide I wish I had back then. It&amp;rsquo;s a journey from that initial doubt to genuine &amp;ldquo;aha&amp;rdquo; moments. We&amp;rsquo;re not going to just talk about the theory of Test Driven Development. We&amp;rsquo;ll walk through eight concrete &lt;strong&gt;test driven development examples&lt;/strong&gt;, starting with the simple stuff and leveling up to the gnarly, real world challenges you actually face, like user authentication, shopping carts, and even complex API endpoints.&lt;/p&gt;</description></item><item><title>Join Kuldeep Pisda at PyConf Hyderabad 2025 for a hands-on workshop on mastering Test-Driven Development in Django using factory_boy and faker</title><link>https://kdpisda.in/join-kuldeep-pisda-at-pyconf-hyderabad-2025-for-a-hands-on-workshop-on-mastering-test-driven-development-in-django-using-factory_boy-and-faker/</link><pubDate>Mon, 17 Feb 2025 17:08:28 +0530</pubDate><guid>https://kdpisda.in/join-kuldeep-pisda-at-pyconf-hyderabad-2025-for-a-hands-on-workshop-on-mastering-test-driven-development-in-django-using-factory_boy-and-faker/</guid><description>&lt;p&gt;I&amp;rsquo;m thrilled to announce that I&amp;rsquo;ll be presenting a hands-on workshop at &lt;strong&gt;PyConf Hyderabad 2025&lt;/strong&gt; titled &lt;strong&gt;&amp;ldquo;Mastering Test-Driven Development in Django: A Comprehensive Guide with&lt;/strong&gt; factory_boy &lt;strong&gt;and&lt;/strong&gt; faker**.&amp;rdquo;** This session is scheduled for &lt;strong&gt;Sunday, February 23, 2025&lt;/strong&gt;, from &lt;strong&gt;11:00 AM to 12:30 PM IST&lt;/strong&gt;, and will be held at the conference venue in Hyderabad.&lt;/p&gt;
&lt;h2 id="session-overview"&gt;Session Overview&lt;a class="heading-anchor" href="#session-overview" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;In the fast-paced world of software development, ensuring code reliability and maintainability is paramount. Test-Driven Development (TDD) has emerged as a pivotal methodology to achieve these goals, promoting the writing of tests before actual code implementation. This approach not only enhances code quality but also facilitates seamless integration and refactoring.&lt;/p&gt;</description></item><item><title>Announcing Kuldeep Pisda's DjangoCon US 2023 Tutorial: Mastering Test-Driven Development in Django with factory_boy and faker</title><link>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2023-tutorial-mastering-test-driven-development-in-django-with-factory_boy-and-faker/</link><pubDate>Thu, 20 Jul 2023 09:12:00 +0530</pubDate><guid>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2023-tutorial-mastering-test-driven-development-in-django-with-factory_boy-and-faker/</guid><description>&lt;p&gt;I&amp;rsquo;m excited to announce that I&amp;rsquo;ll be conducting an in-depth tutorial at DjangoCon US 2023 titled &lt;strong&gt;&amp;ldquo;Mastering Test-Driven Development in Django: A Comprehensive Guide with &lt;code&gt;factory_boy&lt;/code&gt; and &lt;code&gt;faker&lt;/code&gt;.&amp;rdquo;&lt;/strong&gt; This session is scheduled for &lt;strong&gt;Sunday, October 8, from 9:00 AM to 12:30 PM EDT&lt;/strong&gt;, and will be held online.&lt;/p&gt;
&lt;figure class="kg-card kg-bookmark-card"&gt;
 &lt;a class="kg-bookmark-container" href="https://2023.djangocon.us/tutorials/mastering-test-driven-development-in-django-a-comprehensive-guide-with-factory-boy-and-faker/?ref=kdpisda.in"&gt;
 &lt;div class="kg-bookmark-content"&gt;
 &lt;div class="kg-bookmark-title"&gt;Mastering Test Driven Development in Django: A Comprehensive Guide with factory_boy and faker&lt;/div&gt;
 &lt;div class="kg-bookmark-description"&gt;In this workshop, we will learn the followings:&lt;/div&gt;
 &lt;div class="kg-bookmark-metadata"&gt;
 &lt;img class="kg-bookmark-icon" src="https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2023-tutorial-mastering-test-driven-development-in-django-with-factory_boy-and-faker/link-icon.svg" alt="" loading="lazy"&gt;
 &lt;span class="kg-bookmark-author"&gt;DjangoCon US&lt;/span&gt;
 &lt;span class="kg-bookmark-publisher"&gt;DjangoCon US&lt;/span&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="kg-bookmark-thumbnail"&gt;&lt;img src="https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2023-tutorial-mastering-test-driven-development-in-django-with-factory_boy-and-faker/kuldeep-pisda.png" alt="" loading="lazy"&gt;&lt;/div&gt;
 &lt;/a&gt;
&lt;/figure&gt;

&lt;h2 id="session-overview"&gt;Session Overview&lt;a class="heading-anchor" href="#session-overview" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;In the ever-evolving landscape of software development, ensuring code reliability and maintainability is paramount. Test-Driven Development (TDD) has emerged as a pivotal methodology to achieve these goals, promoting the writing of tests before actual code implementation. This approach not only enhances code quality but also facilitates seamless integration and refactoring.&lt;/p&gt;</description></item></channel></rss>