> On Jun 22, 2021, at 1:19 PM, Elliotte Rusty Harold <elh...@ibiblio.org> wrote:
>
> On Tue, Jun 22, 2021 at 7:32 PM Gary Gregory <garydgreg...@gmail.com> wrote:
>
>> In addition, how is one supposed to test package private code if a test jar
>> tests a main jar where all packages are now different?
>
> Some projects adhere to strictly testing through the public API only.
> It definitely makes tests more robust and less brittle.
I completely disagree with this. There are tons of things I would never be able
to test in
Log4j without being able to access the internals. You simply can’t get high
enough code
coverage if you are limited to the public API.
Ralph
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org