You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Mohammad Mustaqeem <3m...@gmail.com> on 2013/04/22 19:47:49 UTC

Testing online one class

I have seen the test folder in trunk. How to use these test code.
Like I want to test only TestReplicationPolicy. How to run this code?
-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad
9026604270

Re: Testing online one class

Posted by Mohammad Mustaqeem <3m...@gmail.com>.
Thank u :)
U helped me a lot :)


On Tue, Apr 23, 2013 at 10:01 PM, Chris Nauroth <cn...@hortonworks.com>wrote:

> Test pass/fail will print to the console.  If it fails, then the console
> also shows the assertion failure message or the exception stack trace,
> depending on the nature of the failure.
>
> The full log output emitted during the test run does not go to the console.
>  Instead, you can find that in <module directory>/target/surefire-reports.
>  Inside that directory, you'll find text files named <test
> name>-output.txt, and these will contain the full log output from the test
> run.
>
> --Chris
>
>
>
> On Mon, Apr 22, 2013 at 11:04 PM, Mohammad Mustaqeem <
> 3m.mustaqeem@gmail.com
> > wrote:
>
> > Will the output of this test is shown on terminal?
> >
> >
> > On Mon, Apr 22, 2013 at 11:22 PM, Ted Yu <yu...@gmail.com> wrote:
> >
> > > You can use the following command:
> > >
> > > mvn test -Dtest=TestReplicationPolicy
> > >
> > > Cheers
> > >
> > > On Mon, Apr 22, 2013 at 10:47 AM, Mohammad Mustaqeem <
> > > 3m.mustaqeem@gmail.com
> > > > wrote:
> > >
> > > > I have seen the test folder in trunk. How to use these test code.
> > > > Like I want to test only TestReplicationPolicy. How to run this code?
> > > > --
> > > > *With regards ---*
> > > > *Mohammad Mustaqeem*,
> > > > M.Tech (CSE)
> > > > MNNIT Allahabad
> > > > 9026604270
> > > >
> > >
> >
> >
> >
> > --
> > *With regards ---*
> > *Mohammad Mustaqeem*,
> > M.Tech (CSE)
> > MNNIT Allahabad
> > 9026604270
> >
>



-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad
9026604270

Re: Testing online one class

Posted by Chris Nauroth <cn...@hortonworks.com>.
Test pass/fail will print to the console.  If it fails, then the console
also shows the assertion failure message or the exception stack trace,
depending on the nature of the failure.

The full log output emitted during the test run does not go to the console.
 Instead, you can find that in <module directory>/target/surefire-reports.
 Inside that directory, you'll find text files named <test
name>-output.txt, and these will contain the full log output from the test
run.

--Chris



On Mon, Apr 22, 2013 at 11:04 PM, Mohammad Mustaqeem <3m.mustaqeem@gmail.com
> wrote:

> Will the output of this test is shown on terminal?
>
>
> On Mon, Apr 22, 2013 at 11:22 PM, Ted Yu <yu...@gmail.com> wrote:
>
> > You can use the following command:
> >
> > mvn test -Dtest=TestReplicationPolicy
> >
> > Cheers
> >
> > On Mon, Apr 22, 2013 at 10:47 AM, Mohammad Mustaqeem <
> > 3m.mustaqeem@gmail.com
> > > wrote:
> >
> > > I have seen the test folder in trunk. How to use these test code.
> > > Like I want to test only TestReplicationPolicy. How to run this code?
> > > --
> > > *With regards ---*
> > > *Mohammad Mustaqeem*,
> > > M.Tech (CSE)
> > > MNNIT Allahabad
> > > 9026604270
> > >
> >
>
>
>
> --
> *With regards ---*
> *Mohammad Mustaqeem*,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>

Re: Testing online one class

Posted by Mohammad Mustaqeem <3m...@gmail.com>.
Will the output of this test is shown on terminal?


On Mon, Apr 22, 2013 at 11:22 PM, Ted Yu <yu...@gmail.com> wrote:

> You can use the following command:
>
> mvn test -Dtest=TestReplicationPolicy
>
> Cheers
>
> On Mon, Apr 22, 2013 at 10:47 AM, Mohammad Mustaqeem <
> 3m.mustaqeem@gmail.com
> > wrote:
>
> > I have seen the test folder in trunk. How to use these test code.
> > Like I want to test only TestReplicationPolicy. How to run this code?
> > --
> > *With regards ---*
> > *Mohammad Mustaqeem*,
> > M.Tech (CSE)
> > MNNIT Allahabad
> > 9026604270
> >
>



-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad
9026604270

Re: Testing online one class

Posted by Ted Yu <yu...@gmail.com>.
You can use the following command:

mvn test -Dtest=TestReplicationPolicy

Cheers

On Mon, Apr 22, 2013 at 10:47 AM, Mohammad Mustaqeem <3m.mustaqeem@gmail.com
> wrote:

> I have seen the test folder in trunk. How to use these test code.
> Like I want to test only TestReplicationPolicy. How to run this code?
> --
> *With regards ---*
> *Mohammad Mustaqeem*,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>