samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Homan <jgho...@gmail.com>
Subject Re: How to unit test StreamTask
Date Tue, 16 Dec 2014 18:44:09 GMT
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