<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Software testing unit testing tutorials and videos</title>
	<atom:link href="https://www.softwaretestingmagazine.com/tag/unit-testing/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.softwaretestingmagazine.com</link>
	<description></description>
	<lastBuildDate>Tue, 18 Aug 2026 16:54:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.softwaretestingmagazine.com/wp-content/uploads/favicon.png</url>
	<title>Software testing unit testing tutorials and videos</title>
	<link>https://www.softwaretestingmagazine.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Why Duplicate Unit Tests Are Undermining Test Quality in the Age of AI</title>
		<link>https://www.softwaretestingmagazine.com/knowledge/why-duplicate-unit-tests-are-undermining-test-quality-in-the-age-of-ai/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Tue, 18 Aug 2026 16:54:48 +0000</pubDate>
				<category><![CDATA[Headline]]></category>
		<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Software Testing Articles & Tutorials]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=11873</guid>

					<description><![CDATA[<p>Like code, you can ask AI to generate your unit tests. But what about the quality of the resulting scripts. Who is going to check the coverage of the resulting to these automated tests? This article discusses the issue of ensuring that every AI-generated unit test contributes unique value is becoming the real challenge. Author: Eli Lopian The Overlooked Form of Duplication For decades, software engineering has embraced a simple principle: duplicate code is technical debt. Developers invest significant effort in identifying repeated logic, refactoring common functionality, and ensuring that each piece of production code has a single, maintainable purpose. Modern development tools even help identify duplication automatically because the cost of redundant code is well understood. Curiously, the same level of scrutiny is rarely applied to automated tests. As software projects mature, unit test suites often grow into thousands of test cases. Each new feature introduces additional tests, bug fixes result in regression tests, and developers frequently use existing tests as templates for writing new ones. More recently, AI-powered coding assistants have made generating unit tests almost effortless. Within seconds, developers can produce dozens of tests that compile, execute successfully, and increase code coverage. At first glance, this appears to be a tremendous advantage. Larger test suites suggest better protection against defects, while higher coverage percentages imply more thoroughly tested software. Yet beneath these encouraging metrics lies an increasingly common problem. Many automated test suites contain substantial numbers of duplicate tests—tests that repeatedly validate the same behavior while contributing <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/knowledge/why-duplicate-unit-tests-are-undermining-test-quality-in-the-age-of-ai/" title="Why Duplicate Unit Tests Are Undermining Test Quality in the Age of AI">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/knowledge/why-duplicate-unit-tests-are-undermining-test-quality-in-the-age-of-ai/">Why Duplicate Unit Tests Are Undermining Test Quality in the Age of AI</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>AI Can Generate Unit Tests But Who Reviews Them?</title>
		<link>https://www.softwaretestingmagazine.com/knowledge/ai-can-generate-unit-tests-but-who-reviews-them/</link>
					<comments>https://www.softwaretestingmagazine.com/knowledge/ai-can-generate-unit-tests-but-who-reviews-them/#comments</comments>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Tue, 30 Jun 2026 14:22:49 +0000</pubDate>
				<category><![CDATA[Headline]]></category>
		<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Software Testing Articles & Tutorials]]></category>
		<category><![CDATA[test automation]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=11687</guid>

					<description><![CDATA[<p>As AI makes test creation nearly effortless, software teams face a new challenge: determining which tests actually improve quality and which simply add noise. Author: Eli Lopian For years, software teams focused on a simple goal: write more automated tests. The industry invested heavily in testing frameworks, mocking libraries, CI/CD pipelines, and code coverage tools. The logic was straightforward. More tests meant fewer defects, safer releases, and greater confidence when changing code. That strategy worked. Modern applications often contain thousands of automated tests. Builds run on every commit. Coverage reports have become a standard quality metric. Automated testing is now a fundamental part of software development. But AI is changing the equation. Today, developers can generate dozens of unit tests in seconds using AI coding assistants. What once took hours can now happen almost instantly. As a result, the challenge is no longer creating tests. The challenge is understanding whether those tests actually provide value. A generated test may compile, execute successfully, and increase code coverage. Yet none of those things guarantee that it improves confidence in the software. That raises an important question: who reviews the tests? The New Bottleneck The software industry has spent years solving the problem of test generation. It may now need to focus on test evaluation. Traditional testing metrics offer only part of the picture. Code coverage tells us which lines of code were executed. Build reports tell us whether tests passed. Test counts tell us how many tests exist. What these metrics do <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/knowledge/ai-can-generate-unit-tests-but-who-reviews-them/" title="AI Can Generate Unit Tests But Who Reviews Them?">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/knowledge/ai-can-generate-unit-tests-but-who-reviews-them/">AI Can Generate Unit Tests But Who Reviews Them?</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
					<wfw:commentRss>https://www.softwaretestingmagazine.com/knowledge/ai-can-generate-unit-tests-but-who-reviews-them/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Beyond Unit Tests: Using AI to Find Secret Failures in Distributed Systems</title>
		<link>https://www.softwaretestingmagazine.com/knowledge/beyond-unit-tests-using-ai-to-find-secret-failures-in-distributed-systems/</link>
					<comments>https://www.softwaretestingmagazine.com/knowledge/beyond-unit-tests-using-ai-to-find-secret-failures-in-distributed-systems/#comments</comments>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Mon, 18 May 2026 16:22:55 +0000</pubDate>
				<category><![CDATA[Headline]]></category>
		<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Software Testing Articles & Tutorials]]></category>
		<category><![CDATA[test automation]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=11555</guid>

					<description><![CDATA[<p>As distributed systems are too complex for deterministic testing, AI can help. In this article, Naveen Prakash proposes an approach based on the ideas of chaos engineering and AI-assisted testing. The focus shifts from testing individual pieces to understanding what happens when many services run together under unpredictable conditions. Author: Naveen Prakash, QA Automation Architect &#038; AI Testing Practitioner Knowing the Issue Imagine getting through an inventory check and somehow ending up with ‘never updated’ stock levels. A wrong inbox receives confirmation of an order. You run your unit tests — everything passes. Nobody’s broken. That’s the flavor of failure that makes these problems so hard. Because the bug’s not planted anywhere. It’s in the links. Modern systems are a tangle — databases, caches, messaging queues, microservices, API gateways, all talking to each other in a constantly shifting dance. A single user request might touch six or seven of these before it resolves. Tests usually check each piece in solitude, which is fine until you realise production does not run in solitude. Things slip through the cracks not because any single service broke, but because nobody thought to test what happens when two seventy-per-cent-correct behaviours land at the same time. Cache inconsistencies, retry amplification, async message reordering — the usual suspects. Gartner research suggests a large chunk of distributed system failures trace back to exactly these. Launching CLSSM The above model Cross-Layer Synthetic Scenario Modeling (CLSSM) can be used to ‘Twitch’ this. Perhaps it’s better to think of CLSSM as a <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/knowledge/beyond-unit-tests-using-ai-to-find-secret-failures-in-distributed-systems/" title="Beyond Unit Tests: Using AI to Find Secret Failures in Distributed Systems">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/knowledge/beyond-unit-tests-using-ai-to-find-secret-failures-in-distributed-systems/">Beyond Unit Tests: Using AI to Find Secret Failures in Distributed Systems</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
					<wfw:commentRss>https://www.softwaretestingmagazine.com/knowledge/beyond-unit-tests-using-ai-to-find-secret-failures-in-distributed-systems/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Best Practice for Property-Based Testing</title>
		<link>https://www.softwaretestingmagazine.com/videos/best-practice-for-property-based-testing/</link>
					<comments>https://www.softwaretestingmagazine.com/videos/best-practice-for-property-based-testing/#comments</comments>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Wed, 03 Dec 2025 17:03:05 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=10866</guid>

					<description><![CDATA[<p>This talk aims to introduce property-based testing, why you may want to use it, and real-life use cases for including it in code bases. Property-based testing is an approach to testing that involves specifying statements that should always be true (for example, reversing a list twice will give the original result) rather than relying on specific examples. This presentation provides an introduction to property-based testing, why you would want to use it, and how you might apply it in the real world. How do you unit test a function? Typically, one might identify different sets of inputs (for example, for an integer you may have sets for positive, negative, and zero) and write a single unit test using a single example from each set. Can you be sure your code is correct for the whole set? Maybe it only works for that particular example? Here are the steps used to perform property-based testing: Identify properties (invariants) Think about rules that should always hold true for your function or system. Example: For a sorting function, the output should always be in non-decreasing order. Choose a property-based testing framework Popular tools: Hypothesis (Python) QuickCheck (Haskell, Erlang, Elixir) ScalaCheck (Scala) jqwik (Java) Write property tests instead of example tests Instead of writing assert sort([3,1,2]) == [1,2,3], you write: &#8220;For any list of integers, sorting it should produce a list where each element is ≤ the next.&#8221; Let the framework generate inputs The tool automatically produces random inputs (including edge cases like empty lists, <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/videos/best-practice-for-property-based-testing/" title="Best Practice for Property-Based Testing">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/videos/best-practice-for-property-based-testing/">Best Practice for Property-Based Testing</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
					<wfw:commentRss>https://www.softwaretestingmagazine.com/videos/best-practice-for-property-based-testing/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Open Source Database Testing Tools</title>
		<link>https://www.softwaretestingmagazine.com/tools/open-source-database-testing-tools/</link>
					<comments>https://www.softwaretestingmagazine.com/tools/open-source-database-testing-tools/#comments</comments>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Thu, 26 Sep 2024 08:00:55 +0000</pubDate>
				<category><![CDATA[Software Testing Tools]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[load testing]]></category>
		<category><![CDATA[test automation]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">http://www.softwaretestingmagazine.com/?p=3947</guid>

					<description><![CDATA[<p>Database testing is one of the areas that might have the smaller number of open source tools. The programming languages have many xUnit tools and mocking frameworks, but this is not the case for databases. This article provides a list of open source tools that can be used to perform unit, load and security testing on several relational (MySQL, Oracle, SQLServer, etc.) and NoSQL databases. This situation might be the results of the fact that most of the main relational databases are commercial tools that come with an infrastructure already provided by the vendors. The current rise of the NoSQL databases and the many forks that have been created from the original MySQL open source relational database might however change this situation in the future. The tools covered in this article are Database Benchmark, Database Rider, DBChaos, DBKover, dbstress, DbUnit, DB Test Driven, GODBT, HammerDB, JdbcSlim, JdbcRunner, JDBDT (Java DataBase Delta Testing), Mindleaf, MyTAP, NBi, NoSQLMap, NoSQLUnit, pgTAP, pstress, ruby-plsql-spec, SeLite, simple-db-tester, Spring DBUnit, SQLancer, sqlmap, tSQLt, Tsung, TypeORM Seeding, utPLSQL. Updates September 26 2024; added DBChaos, SQLancer, TypeORM Seeding February 14 2023: added DBKover, GODBT, pstress, simple-db-tester May 5 2020: added JdbcRunner, Mindleaf, MyTAP, pgTAP, Spring DBUnit January 23 2017: added JDBDT (Java DataBase Delta Testing), Database Rider, dbstress, NBi July 18 2016: added JdbcSlim, ruby-plsql-spec, Tsung, utPLSQL December 1 2016: added SeLite Database Benchmark Database Benchmark is an open source .NET tool designed to stress test databases with large data flows. The application performs two main test scenarios: <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/tools/open-source-database-testing-tools/" title="Open Source Database Testing Tools">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/tools/open-source-database-testing-tools/">Open Source Database Testing Tools</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
					<wfw:commentRss>https://www.softwaretestingmagazine.com/tools/open-source-database-testing-tools/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>How to Choose the Right Name for Unit Tests</title>
		<link>https://www.softwaretestingmagazine.com/knowledge/how-to-choose-the-right-name-for-unit-tests/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Mon, 22 May 2023 15:44:29 +0000</pubDate>
				<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Software Testing Articles & Tutorials]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=8947</guid>

					<description><![CDATA[<p>As unit testing is often the first quality activity targeting code during the software development lifecycle, this article considers several examples of effective approaches to the naming of unit tests. Author: Nataliia Syvynska, TestMatick, https://testmatick.com/ Unit testing is an essential part of software development that helps ensure code quality and catch bugs before they become bigger problems. However, writing effective unit tests requires more than just writing code that checks for the expected output. One often overlooked aspect of unit testing is the importance of naming tests correctly. A well-named unit test can communicate its purpose clearly, make it easier to understand the functionality being tested and help organize tests in large codebases. That is why in this article we will consider several examples of effective approaches to the naming of unit tests. By following these guidelines, you can improve the readability and maintainability of your unit tests, making unit testing an even more valuable activity in your software development process. First of all, let’s take a look at some fundamental guidelines for test naming: Be descriptive: it should be clear and easy to understand what the test is verifying. Use a naming convention: such as prefixing the test name with &#8220;test&#8221; or using camelCase. This makes it easy to identify unit tests and also helps automated testing tools locate and run them. Keep it short: a long name can make it difficult to read and understand the purpose of the test. Use meaningful names that reflect the functionality being tested. Avoid <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/knowledge/how-to-choose-the-right-name-for-unit-tests/" title="How to Choose the Right Name for Unit Tests">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/knowledge/how-to-choose-the-right-name-for-unit-tests/">How to Choose the Right Name for Unit Tests</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Software Testing Tools in Visual Studio</title>
		<link>https://www.softwaretestingmagazine.com/videos/software-testing-tools-in-visual-studio/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Mon, 01 May 2023 15:04:02 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[unit testing]]></category>
		<category><![CDATA[visual studio]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=8918</guid>

					<description><![CDATA[<p>This presentation shows how you can take advantage of the most recent additional to the unit testing tools in Visual Studio to build more reliable apps. Besides Visual Studio own tools, you can also run unit tests in Visual Studio by using third-party test frameworks such as NUnit, Boost, or Google C++ Testing Framework, depending on your programming language. The unit test tools of Visual Studio include: Test Explorer — Run unit tests and see their results in Test Explorer. You can use any unit test framework, including a third-party framework, that has an adapter for Test Explorer. Microsoft unit test framework for managed code—The Microsoft unit test framework for managed code is installed with Visual Studio and provides a framework for testing .NET code. Microsoft Native Unit Test Framework — The Microsoft Native Unit Test Framework for C++ is installed as part of the Desktop development with C++ workload. It provides a framework for testing native code. Google Test, Boost.Test, and CTest frameworks are also included, and third-party adapters are available for additional test frameworks. For more information, see Write unit tests for C/C++. Code coverage tools — You can determine the amount of product code that your unit tests exercise from one command in Test Explorer. Microsoft Fakes isolation framework — The Microsoft Fakes isolation framework can create substitute classes and methods for production and system .NET code that create dependencies in the code under test. By implementing the fake delegates for a function, you control the behavior <a class="mh-excerpt-more" href="https://www.softwaretestingmagazine.com/videos/software-testing-tools-in-visual-studio/" title="Software Testing Tools in Visual Studio">[...]</a></p>
The post <a href="https://www.softwaretestingmagazine.com/videos/software-testing-tools-in-visual-studio/">Software Testing Tools in Visual Studio</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Does TDD Lead to Good Design?</title>
		<link>https://www.softwaretestingmagazine.com/videos/does-tdd-lead-to-good-design/</link>
		
		<dc:creator><![CDATA[Software Testing Magazine]]></dc:creator>
		<pubDate>Mon, 07 Dec 2020 15:49:34 +0000</pubDate>
				<category><![CDATA[Software Testing Videos]]></category>
		<category><![CDATA[agile testing]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">https://www.softwaretestingmagazine.com/?p=7672</guid>

					<description><![CDATA[<p>&#8220;TDD is a design tool.&#8221; That is what the presenter has said for years. But not anymore. After working with different teams and in different organizations, and also carefully inspecting how he works, he changed his mind about the role of Test-Driven Development (TDD) in software design. This talk presents the pros and cons of the two main styles of TDD when it comes to software design, discusses why some software developers can test-drive well-crafted code while others can’t, and also explains how to reason about software design decisions. Video producer: https://devternity.com/</p>
The post <a href="https://www.softwaretestingmagazine.com/videos/does-tdd-lead-to-good-design/">Does TDD Lead to Good Design?</a> first appeared on <a href="https://www.softwaretestingmagazine.com">Software Testing Magazine</a>.]]></description>
		
		
		
			</item>
	</channel>
</rss>
