diff --git a/.bach/src/run.bach/run/bach b/.bach/src/run.bach/run/bach index 8780c5da1..30594ff29 160000 --- a/.bach/src/run.bach/run/bach +++ b/.bach/src/run.bach/run/bach @@ -1 +1 @@ -Subproject commit 8780c5da1588562e7f5683407f4bf03bfd55bc0c +Subproject commit 30594ff29d47b7c0b008fc18b44d165cdafc8743 diff --git a/.bach/src/run.bach/run/demo/ModuleResolverDemo.java b/.bach/src/run.bach/run/demo/ModuleResolverDemo.java index aab51c85a..905905d04 100644 --- a/.bach/src/run.bach/run/demo/ModuleResolverDemo.java +++ b/.bach/src/run.bach/run/demo/ModuleResolverDemo.java @@ -13,6 +13,8 @@ public class ModuleResolverDemo { public static void main(String... args) throws Exception { + JUnit.modules().names().stream().sorted().forEach(System.out::println); + var libraries = ModuleLocator.compose(JUnit.modules(), JavaFX.version("22.0.1")); var lib = Path.of("lib"); @@ -21,6 +23,7 @@ public static void main(String... args) throws Exception { recording.startAsync(); var resolver = ModuleResolver.ofSingleDirectory(lib, libraries); resolver.resolveModule("org.junit.jupiter"); // to write and discover tests + resolver.resolveModule("org.junit.platform.suite"); // to discover tests declaratively resolver.resolveModule("org.junit.platform.console"); // to run tests resolver.resolveModule("javafx.controls"); resolver.resolveMissingModules(); diff --git a/.bach/src/run.bach/run/info/org/junit b/.bach/src/run.bach/run/info/org/junit index 739a7eeae..7ec9b8eef 160000 --- a/.bach/src/run.bach/run/info/org/junit +++ b/.bach/src/run.bach/run/info/org/junit @@ -1 +1 @@ -Subproject commit 739a7eeae347aabfe977662bd78941e182e987ef +Subproject commit 7ec9b8eef1dc0b950a85e79fd4c984744c768148