02/09/2019, 1:05 AM
there is an issue about how
works: there can not be two modules with the same package structure: i.e. typical
will clash on and you can't have more than one
per project (IDE goes crazy about it). The question boils down to where do you put
requires org.junit.jupiter.api;
(or whatever). It's rather strange to put such dependency in production
, yet you can't have separate
for test folder (without workarounds). To understand better what I'm talking about, visit the link above, especially this post: As far as I get it, this is one of the junit team members, but all of suggested methods looks crippled. That's why I'm asking, if whitebox testing is no longer possible (without hacks/tricks), and you need to create separate module for testing (with dedicated
and dependencies).