A component (e.g. class or collection of classes) often depends on other components to implement its behavior. The interfaces it uses to access these components are known as outgoing interfaces and the inputs and outputs transmitted via test interfaces are called indirect inputs and indirect outputs. Outgoing interfaces may be accessed via method or function calls to another component, messages sent on a message channel (e.g. MQ or JMS) or records inserted into a database or written to a file. Testing of the system under test (SUT) behavior with outgoing interfaces requires special techniques such as Mock Objects to intercept and verify the usage of outgoing interfaces of the SUT.
Copyright © 2003-2008 Gerard Meszaros all rights reserved