2011/12/30 Brian Burch <br...@pingtoo.com>:
>>
>> Formatter is configurable since 7.0.24.
>
>
> Silly me! A ${test.formatter} property is defined immediately after
> ${test.name}! 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 build.properties,
> where it would affect non-netbeans test runs.
>

You may look here for an inspiration:
https://issues.apache.org/bugzilla/show_bug.cgi?id=52237

> 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to