InfoQ

Topic/Tag specific view

All content and news on InfoQ about Unit Testing


Latest featured content 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.

News about Unit Testing

DbFit 1.0 With Enhanced Querying Capabilities and User Docs

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

Common Questions when Adopting TDD

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

Debate about Testing and Recoverability: Object Oriented vs. Functional Programming Languages

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

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

Iterative, Automated and Continuous Performance

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

Interviews about Unit Testing

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

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.