You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Rakeshsharma PR <Ra...@itcinfotech.com> on 2015/06/29 07:01:04 UTC
Unit Testing Topologies
Greetings!!
Hi
I am new to storm. I am trying to write some topologies and unit test its running.
How can I do that
Thanks and Regards
Rakesh
Please consider the environment before printing this e-mail
Disclaimer: This communication is for the exclusive use of the intended recipient(s) and shall not attach any liability on the originator or ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group Companies. If you are the addressee, the contents of this e-mail are intended for your use only and it shall not be forwarded to any third party, without first obtaining written authorization from the originator or ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may contain information which is confidential and legally privileged and the same shall not be used or dealt with by any third party in any manner whatsoever without the specific consent of ITC Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group Companies.
Re: Unit Testing Topologies
Posted by Dima Dragan <di...@belleron.net>.
Hi,
for integration testing you can look at
https://github.com/xumingming/storm-lib/blob/master/src/jvm/storm/TestingApiDemo.java
On Mon, Jun 29, 2015 at 12:11 PM, Matthias J. Sax <
mjsax@informatik.hu-berlin.de> wrote:
> I would recommend to write a unit test for each spout/bolt and an
> integration test for the whole topology using LocalCluster.
>
> -Matthias
>
>
> On 06/29/2015 07:01 AM, Rakeshsharma PR wrote:
> >
> >
> >
> >
> > Greetings!!
> >
> >
> >
> >
> >
> > Hi
> >
> >
> >
> > I am new to storm. I am trying to write some topologies and unit test
> > its running.
> >
> > How can I do that
> >
> >
> >
> >
> >
> > Thanks and Regards
> >
> > Rakesh
> >
> >
> >
> >
> >
> >
> > Please consider the environment before printing this e-mail
> >
> > Disclaimer: This communication is for the exclusive use of the
> intended recipient(s) and shall not attach any liability on the
> originator or ITC Infotech India Ltd./its Holding company/ its
> Subsidiaries/ its Group Companies. If you are the addressee, the contents
> of this e-mail are intended for your use only and it shall not be
> forwarded to any third party, without first obtaining written authorization
> from the originator or ITC Infotech India Ltd./ its Holding company/its
> Subsidiaries/ its Group Companies. It may contain information which is
> confidential and legally privileged and the same shall not be used or dealt
> with by any third party in any manner whatsoever without the specific
> consent of ITC Infotech India Ltd./ its Holding company/ its
> Subsidiaries/ its Group Companies.
> >
>
>
--
Best regards,
Dmytro Dragan
Re: Unit Testing Topologies
Posted by "Matthias J. Sax" <mj...@informatik.hu-berlin.de>.
I would recommend to write a unit test for each spout/bolt and an
integration test for the whole topology using LocalCluster.
-Matthias
On 06/29/2015 07:01 AM, Rakeshsharma PR wrote:
>
>
>
>
> Greetings!!
>
>
>
>
>
> Hi
>
>
>
> I am new to storm. I am trying to write some topologies and unit test
> its running.
>
> How can I do that
>
>
>
>
>
> Thanks and Regards
>
> Rakesh
>
>
>
>
>
>
> Please consider the environment before printing this e-mail
>
> Disclaimer: This communication is for the exclusive use of the intended recipient(s) and shall not attach any liability on the originator or ITC Infotech India Ltd./its Holding company/ its Subsidiaries/ its Group Companies. If you are the addressee, the contents of this e-mail are intended for your use only and it shall not be forwarded to any third party, without first obtaining written authorization from the originator or ITC Infotech India Ltd./ its Holding company/its Subsidiaries/ its Group Companies. It may contain information which is confidential and legally privileged and the same shall not be used or dealt with by any third party in any manner whatsoever without the specific consent of ITC Infotech India Ltd./ its Holding company/ its Subsidiaries/ its Group Companies.
>