主权项 |
1. A server system facilitating testing of a client system consuming contractual services specified by a contract, said server system comprising:
a processor; a random access memory (RAM); and a machine readable medium storing a first set of instructions and a second set of instructions to facilitate testing of a set of contractual services present in said contract, said set of contractual services including a first contractual service specified to send a set of outputs according to respective output formats, said first set of instructions containing a corresponding minimal implementation for each of said set of contractual services, wherein the minimal implementation for said first contractual service, upon execution, is designed to form a set of values respectively corresponding to said set of outputs according to said respective output formats, and said second set of instructions processing requests consuming contractual services in said server system, said processing comprising:
receive in said server system, from said client system, a first request to consume said first contractual service;invoke, in said server system, said first contractual service as a response to said receiving of said first request, wherein invoking causes execution of the minimal implementation for said first contractual service, wherein said execution in said server system generates said set of values as said set of outputs according to said respective output formats; andsend, from said server system to said client system, said set of values according to said respective output formats, as a response to said first request, wherein said first request contains a first set of input values for said first contractual service, wherein the minimal implementation is executed with said first set of input values as a set of inputs, wherein said set of values generated by execution of the minimal implementation for said first set of input values, are arbitrary values without correlation to the actual values that would be generated by a production implementation of said first contractual service for said first set of input values as said set of inputs, wherein said client system is provided as a separate system external to said server system such that multiple client systems can be tested using said server system. |