InfoQ

Topic/Tag specific view

All content and news on InfoQ about Unit Testing


Latest featured content about Unit Testing

Hakan Erdogmus on TDD Misunderstandings and Adoption Issues

Community
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.

News about Unit Testing

Pex Automated Exploratory Testing for .NET

Community
.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.

Announcing: New Google C++ Testing Framework

Community
.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

Articles about Unit Testing

Interview and Book Excerpt: "Model Based Software Testing and Analysis with C#"

Community
.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.

Interview and Book Excerpt: Hani Suleiman & Cedric Beust, "Next Generation Java Testing: TestNG and Advanced Concepts"

Community
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".

Interviews about Unit Testing

Cédric Beust discusses Designing for Testability

Community
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.

Coplien and Martin Debate TDD, CDD and Professionalism

Community
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.

Presentations about Unit Testing

Steve Freeman On TDD: How Do We Know When We’re Done?

Community
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.

Designing for Testability

Community
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.

Books about Unit Testing

Agile Patterns: The Technical Cluster

Community
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.