Skip to content

Commit 2318376

Browse files
committed
Update spec tests and report setup
For integration in https://w3c.github.io/json-ld-api/reports/ convert api and framing jsonld reports to single ttl file and then: https://github.com/w3c/json-ld-api/blob/master/reports/README.md
1 parent c4793a7 commit 2318376

28 files changed

+316
-18892
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ target/
99
*~
1010
pom.xml.versionsBackup
1111
dependency-reduced-pom.xml
12+
*-report.jsonld

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,13 @@ Copy local `json-ld-api` tests to `jsonld-java`:
275275
cp -r ../json-ld-api/tests/* core/src/test/resources/json-ld-api-tests/
276276
```
277277

278-
Rerun all local spec tests (second run will pass):
278+
Run all local spec tests, re-generate reports, and update skip files:
279279

280280
```bash
281-
rm core/reports/*-skip ; mvn clean test
281+
rm core/reports/*-skip ; mvn clean test -Dreport.format=jsonld
282282
```
283283

284-
Commit the new tests and updated skip files so we get a useful diff when rerunning skipped spec tests:
284+
Commit the new tests and skip files so we get a useful diff when rerunning skipped spec tests:
285285

286286
```bash
287287
git add .

core/reports/json-ld-api-tests-skip

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#ter49
280280
https://w3c.github.io/json-ld-api/tests/expand-manifest#ter50
281281
https://w3c.github.io/json-ld-api/tests/expand-manifest#ter51
282282
https://w3c.github.io/json-ld-api/tests/expand-manifest#ter52
283+
https://w3c.github.io/json-ld-api/tests/expand-manifest#ter53
283284
https://w3c.github.io/json-ld-api/tests/expand-manifest#tes01
284285
https://w3c.github.io/json-ld-api/tests/expand-manifest#tes02
285286
https://w3c.github.io/json-ld-api/tests/expand-manifest#tin01
@@ -564,6 +565,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter49
564565
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter50
565566
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter51
566567
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter52
568+
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter53
567569
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin01
568570
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin02
569571
https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin03

0 commit comments

Comments
 (0)