TAM TS Service Unit Testing

The primary source of test cases for a service will be the scenarios defined in the requirements gathering (and potentially SOA Analysis) phase. These scenarios provide the interaction ordering, and example message content, that makes it ideal for providing black box testing of the service.

 

Although it is also possible to use the “record and replay” style of service testing, this technique relies upon the service having previously existed (to enable the interactions to be recorded), and that the service contract has not changed in any significant way.

 

However using the scenarios as the basis for the test data has the benefit that it represents the requirements post any change that may have occurred.

 

 

Details

 

Repo:

 

Input: Service implementation. Scenarios with example messages, associated with service.

 

Output: Unit test results