Skip to content

Commit 58c2e3a

Browse files
add junit to java
1 parent 9fe4e0e commit 58c2e3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

language/java/java.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ func Run(files []string, stdin string) (string, string, error, string) {
1010
fname := filepath.Base(files[0])
1111

1212
// need to include junit into classpath env variable
13+
// https://github.com/junit-team/junit4/wiki/Getting-started
1314
junitIncludeString := ".:/usr/local/bin/JUNIT/junit-4.13.2.jar:/usr/local/bin/JUNIT/hamcrest-core-1.3.jar"
1415
stdout, stderr, err, duration := cmd.Run(workDir, "javac", "-Xlint:unchecked", "-cp", junitIncludeString, fname)
1516

0 commit comments

Comments
 (0)