You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samza.apache.org by Milinda Pathirage <mp...@umail.iu.edu> on 2015/02/18 17:35:50 UTC

Process of adding a new integration test

Hi,

What is the process I need to follow to add a new integration test to the
samza-test? Is there a easy way, if I just need to initialize a task and
send some messages to it?

Thanks
Milinda

-- 
Milinda Pathirage

PhD Student | Research Assistant
School of Informatics and Computing | Data to Insight Center
Indiana University

twitter: milindalakmal
skype: milinda.pathirage
blog: http://milinda.pathirage.org

Re: Process of adding a new integration test

Posted by Milinda Pathirage <mp...@umail.iu.edu>.
Hi Chris,

Thanks for the reply. I'll have a look at the resources and update tests.md
once I figure out the way to add tests.

Milinda

On Wed, Feb 18, 2015 at 12:04 PM, Chris Riccomini <cr...@apache.org>
wrote:

> Hey Milinda,
>
> Use the negate-numbers test in samza-test as an example. Adding a new test
> involves adding some code to samza-test/src/main/python, and
> samza-test/src/main/java (if you want to write a new StreamTask).
>
> Have a look at:
>
>   https://github.com/linkedin/Zopkio
>   http://samza.apache.org/contribute/tests.html
>
> I think these docs might be insufficient. If so, could you update tests.md
> with documentation describing how you added your new test? If you get stuck
> at all, please ask for help. There's a bit of a learning curve to Zopkio,
> and without better docs in Samza, I'm afraid it's going to be some trial
> and error. It'd be good to use your experience to better document stuff, so
> those in the future can add integration tests easily.
>
> Cheers,
> Chris
>
> On Wed, Feb 18, 2015 at 8:35 AM, Milinda Pathirage <mp...@umail.iu.edu>
> wrote:
>
> > Hi,
> >
> > What is the process I need to follow to add a new integration test to the
> > samza-test? Is there a easy way, if I just need to initialize a task and
> > send some messages to it?
> >
> > Thanks
> > Milinda
> >
> > --
> > Milinda Pathirage
> >
> > PhD Student | Research Assistant
> > School of Informatics and Computing | Data to Insight Center
> > Indiana University
> >
> > twitter: milindalakmal
> > skype: milinda.pathirage
> > blog: http://milinda.pathirage.org
> >
>



-- 
Milinda Pathirage

PhD Student | Research Assistant
School of Informatics and Computing | Data to Insight Center
Indiana University

twitter: milindalakmal
skype: milinda.pathirage
blog: http://milinda.pathirage.org

Re: Process of adding a new integration test

Posted by Chris Riccomini <cr...@apache.org>.
Hey Milinda,

Use the negate-numbers test in samza-test as an example. Adding a new test
involves adding some code to samza-test/src/main/python, and
samza-test/src/main/java (if you want to write a new StreamTask).

Have a look at:

  https://github.com/linkedin/Zopkio
  http://samza.apache.org/contribute/tests.html

I think these docs might be insufficient. If so, could you update tests.md
with documentation describing how you added your new test? If you get stuck
at all, please ask for help. There's a bit of a learning curve to Zopkio,
and without better docs in Samza, I'm afraid it's going to be some trial
and error. It'd be good to use your experience to better document stuff, so
those in the future can add integration tests easily.

Cheers,
Chris

On Wed, Feb 18, 2015 at 8:35 AM, Milinda Pathirage <mp...@umail.iu.edu>
wrote:

> Hi,
>
> What is the process I need to follow to add a new integration test to the
> samza-test? Is there a easy way, if I just need to initialize a task and
> send some messages to it?
>
> Thanks
> Milinda
>
> --
> Milinda Pathirage
>
> PhD Student | Research Assistant
> School of Informatics and Computing | Data to Insight Center
> Indiana University
>
> twitter: milindalakmal
> skype: milinda.pathirage
> blog: http://milinda.pathirage.org
>