O'Reilly logo

.NET Patterns: Architecture, Design, and Process by Christian Thilmany

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Stunt Driver Interface

Intent

Provide a mechanism for plugging any component into a generic black box test framework.

Problem

Testing is important, no question. Black box testing is a great way to validate a set of results against a given set of inputs. With a good test environment, black box testing can also be used to compare the speed of various implementations, do regression testing, perform stress/load testing, perform boundary value testing, etc. Typically, though, each component tends to need its own test scaffold, which makes it difficult to justify spending the time to build an environment that provides the functionality allowing for all the testing we would like to do.

This pattern is intended to allow a specific interface to be defined ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required