Skip to content

Commit 6c2fe83

Browse files
committed
docs: fix JTD property test name
1 parent 4e125de commit 6c2fe83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ Prefer linking to `README.md` for stable, user-facing workflows and module descr
210210

211211
#### Debugging Exhaustive Property Tests
212212

213-
The `JtdExhaustiveTest` uses jqwik property-based testing to generate comprehensive schema/document permutations. When debugging failures:
213+
The `JtdPropertyTest` uses jqwik property-based testing to generate comprehensive schema/document permutations. When debugging failures:
214214

215215
1. **Enable FINEST logging** to capture exact schema and document inputs:
216216
```bash
217-
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-jtd test -Dtest=JtdExhaustiveTest -Djava.util.logging.ConsoleHandler.level=FINEST > test_debug.log 2>&1
217+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-jtd test -Dtest=JtdPropertyTest -Djava.util.logging.ConsoleHandler.level=FINEST > test_debug.log 2>&1
218218
```
219219

220220
2. **Search for failing cases** in the log file:

json-java21-jtd/src/test/java/json/java21/jtd/TestRfc8927.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ public void testDiscriminatorInElementsSchema() {
624624
.as("Should reject document with missing required properties")
625625
.isFalse();
626626
}
627-
/// Test case from JtdExhaustiveTest property test failure
627+
/// Test case from JtdPropertyTest property test failure
628628
/// Nested elements containing properties schemas should reject additional properties
629629
/// Schema: {"elements":{"elements":{"properties":{}}}}
630630
/// Document: [[{},{},[{},{extraProperty":"extra-value"}]

0 commit comments

Comments
 (0)