BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage Unit Testing Content on InfoQ

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

  • .NET 4 Feature Focus: Code Contracts

    By far the most important feature of .NET 4.0 is support for a language agnostic design by contract framework. When used properly, design by contract has the ability to greatly reduce the potential for bugs in software while at the same time reducing the number of unit tests that need to be generated.

  • Typemock Announces Isolator 5.1.1 and Racer

    Typemock releases its latest version of Isolator and looks ahead with a simpler concept. Typemock also introduces Racer, Typemock’s parallel code solution for unit testing.

  • Testing: What Developers Are Expected To Do Versus What They Actually Do

    The recent PDC underscored a major disconnect in the testing community. There is a fundamental misconception that developers only need to write "unit testers" and all other forms of testing are someone else's problem.

  • Flex Testing with FlexMonkey

    In this post, InfoQ.com discusses FlexMonkey with project founder Stu Stern of Gorilla Logic. FlexMonkey is an open source record / playback tool for testing Flex applications.

BT