java-tutorials/core-java-modules/core-java-9-jigsaw/run-library-test-module-path.sh
Eugene Kovko c255eb13c1 BAEL-4174: Java Modularity and Unit Testing (#13805)
* feat: Added two main modules

* feat: Renamed test module

* feat: Added scripts for compiling library modules

* feat: Added scripts for running core module

* feat: Added scripts for running test module

* fix: Fixed module name

* fix: Removed unnecessary module imports

* feat: Added script for running tests with patch

* fix: Remove unnecessary module path imports

* feat: Script for simple classpath tests

* fix: Updated output directory

* fix: Updated output directory for test compilation

* fix: Replace maven repository with local lib folder

* feat: Add lib folder

* feat: Update the scripts

* fix: Remove pom from test module

* fix: Update core pom dependencies

* fix: Remove test module from a parent pom

* fix: Removed jars and added a script

* fix: Fix a script

* fix: Fix pom conflict
2023-04-13 07:51:31 -07:00

5 lines
284 B
Bash

#!/usr/bin/env bash
java --module-path mods:libs \
--add-modules com.baeldung.library.test \
--add-opens com.baeldung.library.core/com.baeldung.library.core=com.baeldung.library.test \
org.junit.platform.console.ConsoleLauncher --select-class com.baeldung.library.test.LibraryUnitTest