That doesn't help at all. I'm already using that.

My issue is that for a given class in the test tree I get output like
this:

[junit] Testcase: testSimpleParsing took 0.044 sec
[junit] Testcase: testChildParsing took 0 sec
[junit] Testcase: testAttributeParsing took 0 sec
[junit] Testcase: testCombinedParsing took 0.001 sec
[junit] Running com.flashtalk.verona.directory.DispatcherTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.158 sec
[junit] Testsuite: com.flashtalk.verona.directory.DispatcherTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.158 sec
[junit]

That's nine lines in the output, just to tell me it passed the test. The
timing and other details are nice to have in the junit report for the
site, but they're completely useless when I'm doing a build from inside
vim. I want to suppress the output if the test passes and only be
notified of test failures.

Honestly, the output as it's currently generated goes against the spirit
of the whole JUnit test package. A passing testcase should generate *no*
output.


On Tue, 2003-12-30 at 03:06, Emmanuel Venisse wrote:
> You can fork junit with this :
> maven.junit.fork=true
> 
> Emmanuel
> 
> ----- Original Message ----- 
> From: "Scott Brickner" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, December 29, 2003 11:00 PM
> Subject: Can I suppress the junit output?
> 
> 
> > How can I fix things so I don't get the 5+ lines of output on the
> > console for every single testcase?
> > 
> > I really only want to know when a test fails. The xml reports are fine
> > for when I'm building the site, but 99% of the time I'm building during
> > new development and just want failing testcases.
> > 
> > In my ant build files, I used to run the junit task with the "brief"
> > formatter. That's kind of what I'm looking for here.
> > 
> > What are my options?
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to