InfoQ Homepage Unit Testing Content on InfoQ
-
Announcing: New Google C++ Testing Framework
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
-
Gallio .NET Test Automation Platform
Gallio is an automation platform targeting .NET test frameworks. Instead of each test framework creating its own toolset, including an automation API and test runner, Gallio seeks to provide a neutral, extensible platform with tools and automation services that can be leveraged by any test framework.
-
TDD Opinion: Quality Is a Function of Thought and Reflection, Not Bug Prevention
In a recent post, Michael Feathers argues against the widely held idea that unit testing, by itself, improves code quality. Michael talks about unit testing, integration tests, TDD and Clean Room Software Development, concluding that code quality is a function of thought and reflection, not bug prevention.
-
Silverlight 2 Unit Test Framework
Microsoft has released an updated version of the Microsoft.Silverlight. Testing framework. This framework allows developers to create unit tests covering Silverlight 2.0 Beta 2 projects.
-
My "Unit Test" Aint Your "Unit Test"
Mike Hill, well-known XP contributor, came forth to make a few interesting assertions about the misunderstanding often surrounding how a TDD "unit test" differs from the "unit test" of traditional lore, and how he uses the term 'microtesting' to clear the air for new TDD'ers.
-
DocTest 1.0 For Ruby Released
Included in the Python standard library, various DocTest Ruby implementations were made available starting one year ago by Tom Locke, Roger Pack, and more recently Dr Nic. We caught up with Duane Johnson who added his changes into the 1.0 version. We discussed DocTest and when docstring-driven testing should be used.
-
When To Use Mock Objects?
In his 'Ode To Code' K Scott Allen offers rational for the use of mock objects when unit testing and discusses his thoughts on the use of mock object frameworks.
-
Presentation: Steve Freeman about Test Driven Development
In this presentation filmed during QCon 2007, Steve Freeman, an independent consultant, talks about TDD, why is it helpful and gives an example on doing it.
-
The Official RubySpec Website and Its Google Summer of Code Students
The RubySpec project aims to create a complete and executable specification for the Ruby language and recently got its own website. We also talked to two GSoC students who will help improve these specifications.
-
NUnit 2.5 Alpha released
NUnit one of the original .NET Unit Testing frameworks has just released its 2.5 Alpha. Altough there is only a minor version number change there are a significant number of new features, including: Support for Data Driven Tests, a Parallel Test Runner, ...
-
Interview: Cédric Beust Discusses Designing for Testability
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.
-
DbFit 1.0 With Enhanced Querying Capabilities and User Docs
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
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
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.
-
Cockburn on Testing: Real Programmers have GUTs
In a moment of relaxation, Alistair Cockburn had the insight that we may be quibbling over inconsequentialities: "test before" or "test after," what's important to professional programmers is Good Unit Tests. Eureka!