Logo
Explore Help
Sign In
iSharkFly-Docs/java-tutorials
1
0
Fork 0
You've already forked java-tutorials
Code Issues Pull Requests Packages Projects Releases Wiki Activity
java-tutorials/core-java-modules/core-java-9-jigsaw/run-library-test-module-path.sh

5 lines
284 B
Bash
Raw Normal View History

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 16:51:31 +02:00
#!/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
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 296ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API