InfoQ Homepage Unit Testing Content on InfoQ
-
J.B. Rainsberger: "Integration Tests Are A Scam"
Well-known agilist and TDD expert J.B. Rainsberger has begun a series of posts to explain why his experience has led him to the thought-provoking conclusion that "integration tests are a scam".
-
Run Code Run: Hosted Continuous Integration
RunCodeRun is a hosted continuous integration service for Ruby projects on GitHub, developed by Relevance. We take a first look at the project and talked to its developer Rob Sanheim.
-
Gallio and MbUnit 3.06 Released
The popular .NET automation and test framework, Gallio and MbUnit have a new release available. This release includes many new features and performance enhancements, including parallelizable tests, one-click test debugging, and ReSharper 4.5 support.
-
What’s Planned for Visual Studio Team System 2010
Bill Maurer, Developer Technology Specialist at Microsoft, held a conference presenting what new features Visual Studio Team System 2010 (VSTS) will have in the following key domains: Team Foundation Server, Source Control, Project Management, Testing, Development and Architecture.
-
Presentation: The Ethics of Error Prevention
No one wants programming errors. We have many tools to detect and correct errors in code. We also have a number of techniques we can use to prevent the introduction of errors. In this presentation, Michael Feathers t looksat error prevention while posing a number of interesting questions.
-
Moq 3.0 Released
Version 3.0 RTM of the popular Moq .NET mocking library is now available. Moq 3.0 includes Silverlight support, improved event and property mocking, Pex integration, and improved samples.
-
Details on Using Code Contracts
InfoQ has informed on the availability of Code Contracts for .NET. This time we want to offer more details on using Code Contracts, an important addition to .NET.
-
Code Contracts for .NET Is Available for Download
Code Contracts is the .NET implementation of the Design by Contract concept. While it was supposed to be delivered with .NET 4.0, Code Contracts is already available for download from DevLabs. Contracts impose certain restrictions on using APIs, making programming safer, having more validations and resulting in fewer unexpected errors during runtime.
-
Interview with Brian Marick at Agile 2008
Brian Marick discusses what he means by micro-scale-retro-futurist-anachro-syndicalism and why we should go back to the roots of Agile. He talks about what he thinks were the mistakes in the Agile Manifesto, how it has lead to the state of the Agile community today, and how we can build better systems by making them so that they are much more easily tested.
-
WatiN: Web Application Testing in .NET
WatiN is an open-source library for automating web browsers using .NET. WatiN facilitates automated testing of web applications through browser interaction. The recently released WatiN 2.0 CTP3 allows testing through Internet Explorer and FireFox.
-
Article: JavaScript Test Driven Development with JsUnit and JSMock
This article by Dennis Byrne is a crash course in writing maintainable JavaScript. Dennis uses stubs, mock objects and a little bit of dependency injection. He also uses JsUnit to run unit tests and a JavaScript mock object library called JsMock.
-
"Classic" versus "Mockist" TDD, Distinction Real?
Hot in the TDD Yahoo group is a discussion concerning the perceived continuum between the "Classic" and "Mockist" TDD. Steve Freeman, Nat Pryce, Michael Feathers, Dale Emery, and many more discuss terminology and describe their approaches. The discussion also debates whether there even really exists such a continuum, and if so, what distinguishes the approaches that represent it's extremes?
-
Forget Your Debugger, Use The "Saff Squeeze"
Kent Beck, renowned co-father of XP, TDD, and JUnit itself, tells a story about tracking down a defect in a new JUnit feature, JUnitMax, with unit tests instead of a debugger. He explains a method shown to him by current JUnit lead developer, David Saff, where a high level unit test is recursively inlined until a super concise test is created down at the very root of the defect.
-
Faster Test Runs With Clover's Test Optimization
The recent release of Clover 2.4 highlights a new "Test Optimization" feature that offers to speed up CI builds and allow developers to spend less time waiting for their tests to run. The feature leverages "per-test" coverage data to selectively run only the tests impacted by your code changes.
-
Careful With Your Coverage Metrics
Christian Gruber takes some time to clarify the TDD stance on using code coverage metrics. He discusses what code coverage metrics do and don't tell you, how TDD fits into the picture, and how one might be best advised to use their code coverage metrics.