Tutorials and resources on how to apply unit testing in software testing
This chapter from the “Hitchhiker’s Guide to Python” provides recommendations on how to perform unit tests in Python and presents the unitest and doctest modules. It also lists the tools that are available to perform unit testing in Python.
This article provides an article on how to create unit tests for a Visual C# class in a Windows Store app with Visual Studio Express 2012 for Windows 8 and the Microsoft Unit Testing Framework.
The SQL Server unit tests feature have been added in the December 2012 update of SQL Server Data Tools (SSDT). This article presents a detailed information on how to create an run unit tests in SQL Server.
Test-Driven Development (TDD) is one of the main technical practice of agile software development. In his blog post, Bradley Braithwaite shared the top five Test-Driven Development mistakes based on his own experience as a consultant. These mistakes lead organizations to abandon TDD because they think that there is no return on the time invested in Test-Driven Development or the code base become more difficult to maintain.
Test Driven Development (TDD) is a powerful tool to produce quality code, but if it is not used correctly it can also put your project in a difficult position if it is not used correctly. In this article, Jakub Nabrdalik explains that TDD is simple to learn, but hard to master. He shares some tips on how to avoid Test Driven Development traps.
This article from Keith Burnell presents best practices and techniques to increase the testability of ASP.NET MVC applications. This includes how to structure the solution, architecting the code to handle the injection of dependencies and implementing dependency injection with StructureMap.
Easy Coverage is an open source framework that can dynamically generate Java unit tests to perform basic verifications. Easy Coverage is extensible and highly configurable. It can work as a standalone product or it can be used with JUnit. In his blog post, Romain Delamare explains how to dynamically generate Java unit tests with Easy Coverage.