You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test suite can be executed with Maven by running:
157
155
```
158
156
mvn test
159
157
```
158
+
The test suite can be executed with Gradle (6.4 or greater) by running:
159
+
```
160
+
gradle clean build test
161
+
```
160
162
161
163
162
164
@@ -176,7 +178,6 @@ For example, <b>Cookie.java</b> is tested by <b>CookieTest.java</b>.
176
178
* Without unit tests it is hard to feel confident about the quality of the code, especially when fixing bugs or refactoring. Good tests prevents regressions and keeps the intent of the code correct.
177
179
* If you have unit test results along with pull requests, the reviewer has an easier time understanding your code and determining if the it works as intended.
178
180
179
-
When you start working on a test, add the empty file to the repository and update the readme, so that others will know that test is taken.
180
181
181
182
**Caveats:**
182
183
JSON-Java is Java 1.6-compatible, but JSON-Java-unit-tests requires Java 1.8. If you see this error when building JSON-Java-unit-test, make sure you have 1.8 installed, on your path, and set in JAVA_HOME:
0 commit comments