All content and news on InfoQ about Unit Testing
Latest featured content 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,
News about Unit Testing
- .NET,
- Agile,
- Java
- Topics
- Delivering Quality,
- Unit Testing
Gojko Adzic has recently announced the version 1.0 release of DbFit, his popular FIT/FitNesse extension used for practicing TDD on database code.
-
By Mike Bria
on Mar 17, 2008,
- Agile
- Topics
- Unit Testing,
- Adopting Agile
If you are new to TDD you may be struggling with some common questions such as: How much upfront design should I tolerate? Or, when writing a test you have to build interfaces and some classes to get it to even compile - how far do you let that go?
-
By Amr Elssamadisy
on Mar 11, 2008,
- Architecture,
- Java
- Topics
- Delivering Quality,
- Unit Testing,
- Design,
- Programming
In his latest blog post, Michael Feathers argued that object oriented programming languages offer some built-in features that facilitate testing and are therefore more recovery friendly than functional languages. Proponents of functional languages expressed strong disagreement with this statement, which provoked a very passionate debate in the blog community.
-
By Sadek Drobi
on Mar 05, 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,

- Architecture,
- Agile,
- Java
- Topics
- Performance & Scalability,
- Unit Testing
Iterative and continuous are terms that are often used in reference to testing of software. This new InfoQ article takes a look at whether the same concepts can be applied to performance tuning. Along the way topics such as tooling and mocks are discuss in regards to how they need to be adjusted for performance in respect to testing for functional requirements.
-
By Kirk Pepperdine
on Nov 16, 2007,
Interviews about Unit Testing

- 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

- 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,