You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by IT CTO <go...@gmail.com> on 2015/07/22 11:37:45 UTC

Yet another newbe question - add JUNIT test

Hi,
I added a new test class to one of the modules and I would like to run it.
1) can I run build and test for a single module e.g. zeppelin-interpreter?
2) Should I add the new test class somewhere in order for it to be run?
Thanks
Eran

Re: Yet another newbe question - add JUNIT test

Posted by moon soo Lee <mo...@apache.org>.
Hi,

Another way of build single module is using -pl flag in maven. For example,

mvn package -pl 'zeppelin-interpreter'

will build only zeppelin-interpreter sub module. You can list multiple
modules in this way.

mvn package -pl 'zeppelin-interpreter,spark'

Thanks,
moon

On Wed, Jul 22, 2015 at 7:11 PM DuyHai Doan <do...@gmail.com> wrote:

> To run test classes for only a specify module, go into this module and do a
> "mvn test"
>
>
>
> On Wed, Jul 22, 2015 at 11:37 AM, IT CTO <go...@gmail.com> wrote:
>
> > Hi,
> > I added a new test class to one of the modules and I would like to run
> it.
> > 1) can I run build and test for a single module e.g.
> zeppelin-interpreter?
> > 2) Should I add the new test class somewhere in order for it to be run?
> > Thanks
> > Eran
> >
>

Re: Yet another newbe question - add JUNIT test

Posted by DuyHai Doan <do...@gmail.com>.
To run test classes for only a specify module, go into this module and do a
"mvn test"



On Wed, Jul 22, 2015 at 11:37 AM, IT CTO <go...@gmail.com> wrote:

> Hi,
> I added a new test class to one of the modules and I would like to run it.
> 1) can I run build and test for a single module e.g. zeppelin-interpreter?
> 2) Should I add the new test class somewhere in order for it to be run?
> Thanks
> Eran
>