22
33The project layout structure and command line tools usages are based on proposals
44introduced by the [ ** Module System Quick-Start Guide** ] ( https://openjdk.java.net/projects/jigsaw/quick-start ) .
5- Invoke the [ jshell ] ( https://docs.oracle.com/javase/9/tools/jshell.htm ) script
6- ` . /build.jsh ` (Windows: ` jshell build.jsh ` ) to build this example project.
5+ Invoke [ java ] ( https://openjdk.org/jeps/458 ) 's source launcher
6+ ` java src /build/Build.java ` to build this example project.
77
8- This example project does not aim to demonstrate how to use the JUnit Platform APIs.
9- For detailed information on the JUnit Platform programming and extension models,
8+ This example project does not aim to demonstrate how to use the JUnit Framework APIs.
9+ For detailed information on the JUnit Framework programming and extension models,
1010please consult the [ User Guide] ( https://docs.junit.org/current/user-guide/ ) .
1111
1212## Source Layout
@@ -22,7 +22,7 @@ It tests the exported packages and types of the main modules.
2222
2323## Binary Layout
2424
25- Main binaries are compiled and packaged using ` ./compile.jsh ` .
25+ Main binaries are compiled and packaged using ` java src/build/Compile.java ` .
2626
2727For example, here are the commands to compile and package the ` com.example.tool ` module.
2828This and the ` com.example.application ` module don't need external module dependencies.
5757 .
5858```
5959
60- Here is the partly expanded tree of the ` bin/ ` directory after running ` ./compile.jsh ` :
60+ Here is the partly expanded tree of the ` bin/ ` directory after running ` java src/build/Compile.java ` :
6161
6262![ junit-modular-world/bin] ( doc/screenshot-bin.png )
6363
6464
6565## Running Tests
6666
67- Compiling and running tests is achieved by calling the following test scripts :
67+ Compiling and running tests is achieved by calling the following Java program :
6868
69- - ` test-classpath.jsh `
70- - ` test-patch-compile.jsh `
71- - ` test-patch-runtime.jsh `
69+ - ` java src/build/Build.java `
7270
7371```
7472╷
@@ -116,7 +114,7 @@ Compiling and running tests is achieved by calling the following test scripts:
116114## Ice Cream Test Engine
117115
118116The ` ice.cream ` module demonstrates how to write and register your own ` TestEngine `
119- implementation using the Java Platform Module System .
117+ implementation using a Java module descriptor .
120118This engine does not find any tests in containers, but _ discovers_ a configurable
121119amount of ice cream scoops.
122120
0 commit comments