I've got a test class in a module that extends another test class in one of its dependency modules. How can I import the dependency's test code into the test scope of the dependent module?
To illiterate, I've got two modules, "module-one" being a dependency of "module-two". SubTestCase
is a subclass of TestCase
.
module-one \src\test\java\com\example\TestCase.java module-two \src\test\java\com\example\SubTestCase.java
But the build is failing because the test code of "module-one" is not being imported into "module-two", just the main code.