pitest icon indicating copy to clipboard operation
pitest copied to clipboard

when test in one module use another module method

Open XSDYS opened this issue 2 years ago • 1 comments

parent ├ submodule-a │ └ src/main/java │ └ foo.ClassA │ └ src/test/java │ └ foo.ClassATest ├ submodule-b │ └ src/main/java │ └ foo.ClassB

hello, I would like to ask 。My project is structured like this,it is a muti module project。 I can only get pit-reports in submodule-a target,submodule-b target does not have pit-reports , reson is submodule-b have no test ?but my classB’method is used in ClassATest。 how can I get pit-reports in submodule-b。

XSDYS avatar Mar 09 '23 09:03 XSDYS

You can take a look at the example of a Gradle project - here and there. I think, it should be possible to achieve also with Maven.

szpak avatar Mar 09 '23 18:03 szpak