All content and news on InfoQ about Unit Testing
Latest featured content about Unit Testing

- Agile
- Topics
- Unit Testing
In this interview made during Agile 2007, Dr. Hakan Erdogmus, Editor in Chief of IEEE Software, discusses about TDD starting from a study done by Ron Jeffries and Grigori Melnik and published as "TDD--The Art of Fearless Programming" in the IEEE Software magazine. Hakan talks about current misunderstandings regarding TDD's role in software development and the adoption issues it faces.
-
By Hakan Erdogmus
on Jul 11, 2008,
News about Unit Testing
- .NET
- Topics
- Unit Testing
Pex is a white-box test generation tool from Microsoft Research. Instead of hand-writing a separate test case for each execution path within a given method, Pex allows a developer to write a single parameterized test method, which Pex will use to generate a suite of standard unit tests to exercise paths within the target method.
-
By Al Tenhundfeld
on Jul 15, 2008,
- .NET,
- Agile,
- Java
- Topics
- Artifacts & Tools,
- Unit Testing
The folks at Google have recently open-sourced their xUnit-based testing framework for C++ development. The framework is said by project developer Zhanyong Wan to have been in use internally at Google for years by thousands of their C++ developers.cc
-
By Mike Bria
on Jul 11, 2008,
Articles about Unit Testing

- .NET,
- Architecture
- Topics
- Unit Testing,
- Programming
Recently published, Infoq was able to speak with all four authors about their personal views on Model Based Testing: Jonathan Jacky, Margus Veanes, Colin Campbell and Wolfram Schulte. Also included is a chapter excerpt with thanks to Cambridge University Press.
-
By Jonathan Jacky, Margus Veanes, Colin Campbell, and Wolfram Schulte
on Feb 21, 2008,

- Java
- Topics
- Software Testing,
- Unit Testing
InfoQ.com recently sat down with Hani Suleiman and Cédric Beust the authors of Next Generation Java Testing: TestNG and Advanced Concepts to discuss the book and their thoughts about testing in general. InfoQ is also pleased to offer an excerpt from chapter 2 of the book, "Mocks and Stubs".
-
By Scott Delap
on Feb 13, 2008,
Interviews about Unit Testing

- Java
- Topics
- Software Testing,
- Unit Testing
In this interview from QCon San Francisco 2007, Cédric Beust discusses designing and architecting for testability, problems that hinder testability, test-driven development, the "Next Generation Testing" book, performance testing recipes, and testing small, medium and large codebases.
-
By Cédric Beust
on Apr 28, 2008,

- Agile
- Topics
- Delivering Quality,
- Unit Testing,
- Agile Techniques
Debate sprang up at JAOO '07 around Bob Martin's assertion that "nowadays it is irresponsible for a developer to ship a line of code he has not executed in a unit test." In this InfoQ video, he debated with Jim Coplien on this and other topics, including Design by Contract vs. TDD and how much up-front architecture is needed to keep a system consistent with the business domain model.
-
By Jim Coplien and Bob Martin
on Feb 18, 2008,
Presentations about Unit Testing

- Agile
- Topics
- Unit Testing,
- Agile Techniques
Writing a test makes you clarify your ideas about what needs to be done, and making the test pass means that you know that you've added a little more functionality today. Having a comprehensive suite of tests gives you the confidence to get on with things because you can tell when you've broken the system, and tests that are difficult to write show you where you need to improve.
-
By Steve Freeman
on May 31, 2008,

- Java
- Topics
- Software Testing,
- Unit Testing
In this presentation from QCon San Francisco, Cedric Beust and Alexandru Popescu discuss interesting features of TestNG such as grouping of tests, data providers for tests and dependency handling in tests, tips for designing easily testable code such as eliminating statics, extreme encapsulation and TDD, the importance of functional versus unit testing, and migrating from JUnit to TestNG.
-
By Cedric Beust and Alexandru Popescu
on Feb 28, 2008,
Books about Unit Testing

- Agile
- Topics
- Unit Testing,
- Software Testing,
- Methodologies,
- Agile Techniques,
- Agile in the Enterprise
This book guides the reader on crafting their own agile adoption strategy focused on their business values and environment. This strategy is then directly tied to patterns of agile practice adoption that describe how many teams have successfully (and unsuccessfully) adopted them. Business values are also a component of these patterns so your adoption is always focused on addressing your particular environment.
-
By Amr Elssamadisy
on Mar 23, 2007,