tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: unit test debugging under Netbeans
Date Wed, 04 Jan 2012 23:09:13 GMT
2011/12/30 Brian Burch <>:
>> Formatter is configurable since 7.0.24.
> Silly me! A ${test.formatter} property is defined immediately after
> ${}! However, the runtests macro assumes I want usefile="true", but
> that prevents netbeans from intercepting the results.

You can convert usefile flag into a property as well,
  <property name="junit.formatter.usefile" value="true"/>

> I will think about whether I really want both formatters active on the same
> netbeans test run (as in my current version). If not, I need to work out how
> to inject a value without the user having to change it in,
> where it would affect non-netbeans test runs.

You may look here for an inspiration:

> Do unit test classes really get jar'd and run from the jar?

No. They are compiled into output/testclasses and are run from there.
I was confusing some things.

Still the "test-(bio|nio|apr)" targets depend on "deploy" target and
that one packs Tomcat classes into jars, along with doing a lot of
other stuff.

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message