This page is dedicated to software unit testing.

Articles

Titlesort iconAuthor(s)Notes
Carving differential unit test cases from system test casesSebastian Elbaum,
Hui Nee Chin,
Matthew B. Dwyer,
Jonathan Dokulil
Endo-Testing: Unit Testing with Mock ObjectsTim Mackinnon,
Steve Freeman,
Philip Craig
Mock Roles, Not ObjectsSteve Freeman,
Tim Mackinnon,
Nat Pryce,
Joe Walnes
This article discusses the use of Mock objects to discover system behaviour as part of the development and testing process. It is a followup to the author's previous article Endo-Testing: Unit Testing with Mock Objects.
Realizing quality improvement through test driven development: results and experiences of four industrial teamsNachiappan Nagappan,
E. Michael Maximilien,
Thirumalesh Bhat,
Laurie Williams
This report documents the results of a case study into four projects that used TDD during development. Three projects at Microsoft and one at IBM were included in the case study. The report concludes that TDD does improve the quality of the delivered software and a reduction in the defect density when the software is released. It also showed that the development time increased; however this was offset by reduced integration testing.

Case Studies

Titlesort iconAuthor(s)Notes
Realizing quality improvement through test driven development: results and experiences of four industrial teamsNachiappan Nagappan,
E. Michael Maximilien,
Thirumalesh Bhat,
Laurie Williams
This report documents the results of a case study into four projects that used TDD during development. Three projects at Microsoft and one at IBM were included in the case study. The report concludes that TDD does improve the quality of the delivered software and a reduction in the defect density when the software is released. It also showed that the development time increased; however this was offset by reduced integration testing.

Tools

Tool Description
 JUnit Java unit testing framework. Primarily intended for testing Java classes; however it can be used for other purposes.
CppUnit C++ version of the JUnit framework.