> On Jun 22, 2021, at 1:19 PM, Elliotte Rusty Harold <[email protected]> wrote: > > On Tue, Jun 22, 2021 at 7:32 PM Gary Gregory <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Andres Almiray
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Andres Almiray
- Re: JPMS, Maven and test jars Robert Scholte
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Benjamin Marwell
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Gary Gregory
- Re: JPMS, Maven and test jars Elliotte Rusty Harold
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Gary Gregory
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Jochen Wiedmann
- Re: JPMS, Maven and test jars Gary Gregory
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Andres Almiray
- Re: JPMS, Maven and test jars Ralph Goers
- Re: JPMS, Maven and test jars Robert Scholte
