samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Riccomini <criccom...@linkedin.com.INVALID>
Subject Re: How to unit test StreamTask
Date Wed, 17 Dec 2014 00:32:53 GMT
Hey Jae,

Could you please open a JIRA for this? Should be do-able for 0.9.0.

Cheers,
Chris

On 12/16/14 10:44 AM, "Jakob Homan" <jghoman@gmail.com> wrote:

>For true unit tests, manually mocking those is necessary, yes.  It
>might be a good addition to have some utility methods in the testing
>packages to handle the boiler plate for these instances (a Builder
>pattern).
>
>-jakob
>
>
>On Tue, Dec 16, 2014 at 10:12 AM, Bae, Jae Hyeon <metacret@gmail.com>
>wrote:
>> Hi
>>
>> Can I get an advice about unit testing StreamTask?
>>
>> I can create mocked objects for Config, TaskContext, MessageCollector,
>> TaskCoordinator but if you have more convenient ways, please share your
>> experience.
>>
>> Thank you
>> Best, Jae


Mime
View raw message