Specifying Distributed Objects

Interface Definition Language

The specification for service providers is usually written in an interface definition language (IDL). Since they are only for specification, the IDLs are simpler than a programming language. The IDL specification provides several pieces of information that are useful for testing purposes:

  • signature— The main portion of the IDL specification is the usual signature for a method. This includes the name of the method, the types of each of the parameters, and the type of the return object, if any. The standard techniques for sampling values for each of these parameters should be followed in constructing test cases.

  • one-way— This designation signals an asynchronous message. Testing messages ...

Get A Practical Guide to Testing Object-Oriented Software 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.