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.mustaq...@gmail.com > wrote: > Will the output of this test is shown on terminal? > > > On Mon, Apr 22, 2013 at 11:22 PM, Ted Yu <yuzhih...@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.mustaq...@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 >