qulice icon indicating copy to clipboard operation
qulice copied to clipboard

package-info.java for the unit-tests packages `src/test/java`

Open dgroup opened this issue 7 years ago • 2 comments

Hi Team,

Could you please specify what is the business purpose for package-info.java for the packages with unit tests? Qulice will fail in case if my package with tests doesn't have package-info.java.

dgroup avatar Jan 26 '18 12:01 dgroup

@krzyk/z please, pay attention to this issue

0crat avatar Jan 26 '18 12:01 0crat

I think it's an important topic @yegor256 to make qulice JavadocPackageCheck better.

Typically (in a Maven project) a single package resides in 2 directories: src/main/java/... and src/test/java/..

When a directory in src/main/java/... already has package-info.java, then qulice shouldn't complain about absence of the package-info.java in src/test/java (for the same package of course). Package is NOT a directory ( actually JLS even gives possibilities to store the packages in a database :) ).

lrozenblyum avatar Mar 18 '18 20:03 lrozenblyum