Skip to content

Commit 1584c7c

Browse files
author
gabe
committed
kind of working
1 parent aa9bd0a commit 1584c7c

File tree

17 files changed

+189
-131
lines changed

17 files changed

+189
-131
lines changed

implementations/docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: "3.9"
2+
services:
3+
tbd:
4+
image: tbd/vc-json-schema-test-suite
5+
build:
6+
context: ./tbd
7+
dockerfile: Dockerfile
8+
volumes:
9+
- ../tests:/tests

implementations/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import {createRequire} from 'node:module';
33
const require = createRequire(import.meta.url);
44
const requireDir = require('require-dir');
55
const dir = requireDir('./');
6-
const implementations = Object.values(dir);
6+
7+
export const implementations = Object.values(dir);
78

89
export const JsonSchemaVersions = {
910
202012: '2020-12',
@@ -29,6 +30,7 @@ export const implementationsWhichSupportVersionAndType = ({
2930
}
3031
return matchingImpls;
3132
};
33+
3234
export const containerNameForImplementation = (implementation) => {
3335
return implementations.findLast((i) => i.name === implementation).docker_image;
3436
};

reports/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,22 @@
114114
<section class="informative" id="conformance-testing-results">
115115
<h2> Conformance Testing Results </h2>
116116
<p>
117-
Tests passed 1/1 100%
117+
Tests passed 30/33 90%
118118
</p>
119119
<p>
120-
Tests failed 0/1 0%
120+
Tests failed 3/33 10%
121121
</p>
122122
<p>
123-
Failures 0
123+
Failures 3
124124
</p>
125125
<p>
126126
Tests skipped 0
127127
</p>
128128
<p>
129-
Total tests 1
129+
Total tests 33
130130
</p>
131131
<p>
132-
These tests were run on <time>22 August 2023 at 5:29 pm UTC</time>
132+
These tests were run on <time>24 August 2023 at 4:19 pm UTC</time>
133133
</p>
134134
<section class="informative" id="Key">
135135
<h3>Key</h3>

tests/202012jsonschema.js

Lines changed: 0 additions & 98 deletions
This file was deleted.

tests/docker.js

Lines changed: 0 additions & 27 deletions
This file was deleted.

tests/input/jsonschema/2020-12/.gitkeep

Whitespace-only changes.

tests/input/jsonschema/Draft-7/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)