You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rajas kumar <pr...@yahoo.com> on 2004/11/05 06:00:13 UTC

Junit test case reports

Hai
 
When i initiating maven goal        maven test:test  out put will be giving on the console simultaneously in .xml and .txt files also.  I am using this goal in Nightly Build. I dont need any out put on consolue while running Nightly Build wheater Junit test case reports are failed or success. 
console out put is such like this
 
 
  at junit.framework.TestCase.runBare(TestCase.java:125)
  at junit.framework.TestResult$1.protect(TestResult.java:106)
  at junit.framework.TestResult.runProtected(TestResult.java:124)
  at junit.framework.TestResult.run(TestResult.java:109)
  at junit.framework.TestCase.run(TestCase.java:118)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at junit.framework.TestSuite.runTest(TestSuite.java:208)
  at junit.framework.TestSuite.run(TestSuite.java:203)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JU
unner.java:325)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(
k.java:848)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUni
va:556)
  at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUni
va:532)
  at org.apache.tools.ant.Task.perform(Task.java:341)
  at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:232)
  at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
  at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
  at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
  at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
  at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoal
:78)
  at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perf
n(MavenGoalTag.java:99)
  at com.werken.werkz.Goal.fire(Goal.java:639)
  at com.werken.werkz.Goal.attain(Goal.java:575)
 
 





			
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a