4 May 2010 07:41
RE: Re: how would you test Active Objects?
Lior Friedman <lfriedmal <at> gmail.com>
2010-05-04 05:41:04 GMT
2010-05-04 05:41:04 GMT
Hi I'm not sure I made myself clear enough. The setup looks something like: Endpoint1 -> queue -> logic handler -> callback. The queue->handler is an internal implementation detail. From the endpoint1 point of view he sees something like: Void RequestOperation(param1,param2,param3.., callback); And what he know is sometime after the request is made he will receive a callback with the result in it. (there is variant in which the callback is putting the result in a queue to be processed by another such active object) The real problem is that the entire thing is hidden inside. We tried dividing the problem to the following tests: 1) Test that a RequestOperation ends with an appropriate message in the queue. 2) Test that given a proper message in the queue is passed to the correct logic handler 3) Test that the logic handler "logic" is correct (i.e. result in the(Continue reading)
RSS Feed