We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ccaba8 commit fb4abc2Copy full SHA for fb4abc2
CONTRIBUTING.md
@@ -44,6 +44,17 @@ GitHub provides additional document on [forking a repository](https://help.githu
44
45
#### Unit Tests
46
47
+Before running the tests, ensure you have JAVA_HOME set to a compatible JDK installation (JDK 11 or later is required). For example:
48
+
49
+```bash
50
+# macOS example for Amazon Corretto 17
51
+export JAVA_HOME=/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home
52
+# Linux example OpenJDK 17
53
+export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
54
+```
55
56
+Note: When using JDK 17 or later, setting JAVA_HOME is especially important to avoid Mockito mocking errors during testing.
57
58
To verify unit tests pass run:
59
60
```bash
0 commit comments