You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a module a requiring a module b, with the former having a test but not the latter, tests ran by the tester plugin fail with a java.lang.module.FindException: Module b not found, required by a.
A workaround for this is to create an empty test module for b in such a way that the target "exploded" and "merged" test folders are properly generated.
Non-working tree:
├── build.pro
├── src
│ ├── main
│ │ └── java
│ │ ├── a
│ │ │ └── module-info.java
│ │ └── b
│ │ └── module-info.java
│ └── test
│ └── java
│ └── a
│ └── module-info.java
└── target
├── main
│ └── exploded
│ ├── a
│ │ └── module-info.class
│ └── b
│ └── module-info.class
└── test
├── exploded
│ └── a
│ └── module-info.class
└── merged
└── a
└── module-info.java
Working tree:
├── build.pro
├── src
│ ├── main
│ │ └── java
│ │ ├── a
│ │ │ └── module-info.java
│ │ └── b
│ │ └── module-info.java
│ └── test
│ └── java
│ ├── a
│ │ └── module-info.java
│ └── b
│ └── module-info.java
└── target
├── main
│ └── exploded
│ ├── a
│ │ └── module-info.class
│ └── b
│ └── module-info.class
└── test
├── exploded
│ ├── a
│ │ └── module-info.class
│ └── b
│ └── module-info.class
└── merged
├── a
│ └── module-info.java
└── b
└── module-info.java
The text was updated successfully, but these errors were encountered:
Given a module
a
requiring a moduleb
, with the former having a test but not the latter, tests ran by thetester
plugin fail with ajava.lang.module.FindException: Module b not found, required by a
.A workaround for this is to create an empty test module for
b
in such a way that the target "exploded" and "merged" test folders are properly generated.Non-working tree:
Working tree:
The text was updated successfully, but these errors were encountered: