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

Get .NET Patterns: Architecture, Design, and Process now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.