Skip to content

Commit 13fa911

Browse files
enisdenjokamilkisiela
authored andcommitted
begin test
1 parent 3bb84ad commit 13fa911

File tree

17 files changed

+297
-75
lines changed

17 files changed

+297
-75
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ This repository contains a set of tests to evaluate and compare the compatibilit
88

99
<!-- gateways:start -->
1010

11-
| Gateway | Compatibility | Test Cases | Test Suites |
12-
| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: |
13-
| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 100.00% | 🟢 187 | 🟢 41 |
14-
| [Apollo Router](https://www.apollographql.com/) | 97.86% | 🟢 183 ❌ 4 | 🟢 39 ❌ 2 |
15-
| [Apollo Gateway](https://www.apollographql.com/) | 97.33% | 🟢 182 ❌ 5 | 🟢 38 ❌ 3 |
16-
| [Cosmo Router](https://wundergraph.com) | 95.19% | 🟢 178 ❌ 9 | 🟢 36 ❌ 5 |
17-
| [Grafbase Gateway](https://grafbase.com) | 90.91% | 🟢 170 ❌ 17 | 🟢 35 ❌ 6 |
18-
| [Inigo Gateway](https://inigo.io) | 48.66% | 🟢 91 ❌ 96 | 🟢 12 ❌ 29 |
11+
| Gateway | Compatibility | Test Cases | Test Suites |
12+
| :--------------------------------------------------------: | :-----------: | :----------: | :---------: |
13+
| [Hive Gateway](https://the-guild.dev/graphql/hive/gateway) | 98.94% | 🟢 187 ❌ 2 | 🟢 41 ❌ 1 |
14+
| [Apollo Router](https://www.apollographql.com/) | 97.88% | 🟢 185 ❌ 4 | 🟢 40 ❌ 2 |
15+
| [Apollo Gateway](https://www.apollographql.com/) | 97.35% | 🟢 184 ❌ 5 | 🟢 39 ❌ 3 |
16+
| [Cosmo Router](https://wundergraph.com) | 95.24% | 🟢 180 ❌ 9 | 🟢 37 ❌ 5 |
17+
| [Grafbase Gateway](https://grafbase.com) | 91.01% | 🟢 172 ❌ 17 | 🟢 36 ❌ 6 |
18+
| [Inigo Gateway](https://inigo.io) | 48.15% | 🟢 91 ❌ 98 | 🟢 12 ❌ 30 |
1919

2020
<!-- gateways:end -->
2121

REPORT.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
## Summary
44

5-
| Gateway | Compatibility | Test Cases | Test Suites |
6-
| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: |
7-
| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 100.00% | 🟢 187 | 🟢 41 |
8-
| [Apollo Router](https://www.apollographql.com/) | 97.86% | 🟢 183 ❌ 4 | 🟢 39 ❌ 2 |
9-
| [Apollo Gateway](https://www.apollographql.com/) | 97.33% | 🟢 182 ❌ 5 | 🟢 38 ❌ 3 |
10-
| [Cosmo Router](https://wundergraph.com) | 95.19% | 🟢 178 ❌ 9 | 🟢 36 ❌ 5 |
11-
| [Grafbase Gateway](https://grafbase.com) | 90.91% | 🟢 170 ❌ 17 | 🟢 35 ❌ 6 |
12-
| [Inigo Gateway](https://inigo.io) | 48.66% | 🟢 91 ❌ 96 | 🟢 12 ❌ 29 |
5+
| Gateway | Compatibility | Test Cases | Test Suites |
6+
| :--------------------------------------------------------: | :-----------: | :----------: | :---------: |
7+
| [Hive Gateway](https://the-guild.dev/graphql/hive/gateway) | 98.94% | 🟢 187 ❌ 2 | 🟢 41 ❌ 1 |
8+
| [Apollo Router](https://www.apollographql.com/) | 97.88% | 🟢 185 ❌ 4 | 🟢 40 ❌ 2 |
9+
| [Apollo Gateway](https://www.apollographql.com/) | 97.35% | 🟢 184 ❌ 5 | 🟢 39 ❌ 3 |
10+
| [Cosmo Router](https://wundergraph.com) | 95.24% | 🟢 180 ❌ 9 | 🟢 37 ❌ 5 |
11+
| [Grafbase Gateway](https://grafbase.com) | 91.01% | 🟢 172 ❌ 17 | 🟢 36 ❌ 6 |
12+
| [Inigo Gateway](https://inigo.io) | 48.15% | 🟢 91 ❌ 98 | 🟢 12 ❌ 30 |
1313

1414
## Detailed Results
1515

@@ -22,7 +22,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
2222
### Hive Gateway
2323

2424
- [Repository](https://github.com/graphql-hive/gateway)
25-
- [Website](https://the-guild.dev/graphql/hive/docs/gateway)
25+
- [Website](https://the-guild.dev/graphql/hive/gateway)
2626

2727
<details>
2828
<summary>Results</summary>
@@ -80,6 +80,8 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
8080
<pre>🟢🟢</pre>
8181
<a href="./src/test-suites/provides-on-union">provides-on-union</a>
8282
<pre>🟢🟢</pre>
83+
<a href="./src/test-suites/requires-circular">requires-circular</a>
84+
<pre>❌❌</pre>
8385
<a href="./src/test-suites/requires-interface">requires-interface</a>
8486
<pre>🟢🟢🟢🟢🟢</pre>
8587
<a href="./src/test-suites/requires-requires">requires-requires</a>
@@ -173,6 +175,8 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
173175
<pre>🟢🟢</pre>
174176
<a href="./src/test-suites/provides-on-union">provides-on-union</a>
175177
<pre>🟢🟢</pre>
178+
<a href="./src/test-suites/requires-circular">requires-circular</a>
179+
<pre>🟢🟢</pre>
176180
<a href="./src/test-suites/requires-interface">requires-interface</a>
177181
<pre>🟢🟢🟢🟢🟢</pre>
178182
<a href="./src/test-suites/requires-requires">requires-requires</a>
@@ -266,6 +270,8 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
266270
<pre>🟢🟢</pre>
267271
<a href="./src/test-suites/provides-on-union">provides-on-union</a>
268272
<pre>🟢🟢</pre>
273+
<a href="./src/test-suites/requires-circular">requires-circular</a>
274+
<pre>🟢🟢</pre>
269275
<a href="./src/test-suites/requires-interface">requires-interface</a>
270276
<pre>🟢🟢🟢🟢🟢</pre>
271277
<a href="./src/test-suites/requires-requires">requires-requires</a>
@@ -359,6 +365,8 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
359365
<pre>❌❌</pre>
360366
<a href="./src/test-suites/provides-on-union">provides-on-union</a>
361367
<pre>❌❌</pre>
368+
<a href="./src/test-suites/requires-circular">requires-circular</a>
369+
<pre>🟢🟢</pre>
362370
<a href="./src/test-suites/requires-interface">requires-interface</a>
363371
<pre>🟢🟢🟢🟢🟢</pre>
364372
<a href="./src/test-suites/requires-requires">requires-requires</a>
@@ -452,6 +460,8 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
452460
<pre>❌❌</pre>
453461
<a href="./src/test-suites/provides-on-union">provides-on-union</a>
454462
<pre>🟢❌</pre>
463+
<a href="./src/test-suites/requires-circular">requires-circular</a>
464+
<pre>🟢🟢</pre>
455465
<a href="./src/test-suites/requires-interface">requires-interface</a>
456466
<pre>🟢🟢🟢🟢🟢</pre>
457467
<a href="./src/test-suites/requires-requires">requires-requires</a>
@@ -545,6 +555,8 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
545555
<pre>❌❌</pre>
546556
<a href="./src/test-suites/provides-on-union">provides-on-union</a>
547557
<pre>❌❌</pre>
558+
<a href="./src/test-suites/requires-circular">requires-circular</a>
559+
<pre>❌❌</pre>
548560
<a href="./src/test-suites/requires-interface">requires-interface</a>
549561
<pre>❌❌❌❌❌</pre>
550562
<a href="./src/test-suites/requires-requires">requires-requires</a>

gateways/apollo-gateway/results.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ provides-on-interface
5252
..
5353
provides-on-union
5454
..
55+
requires-circular
56+
..
5557
requires-interface
5658
.....
5759
requires-requires
@@ -82,6 +84,6 @@ union-intersection
8284
............
8385

8486
---
85-
Total: 187
86-
Passed: 182
87+
Total: 189
88+
Passed: 184
8789
Failed: 5

gateways/apollo-router/results.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ provides-on-interface
5252
..
5353
provides-on-union
5454
..
55+
requires-circular
56+
..
5557
requires-interface
5658
.....
5759
requires-requires
@@ -82,6 +84,6 @@ union-intersection
8284
............
8385

8486
---
85-
Total: 187
86-
Passed: 183
87+
Total: 189
88+
Passed: 185
8789
Failed: 4

gateways/cosmo-router/results.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ provides-on-interface
5252
XX
5353
provides-on-union
5454
XX
55+
requires-circular
56+
..
5557
requires-interface
5658
.....
5759
requires-requires
@@ -82,6 +84,6 @@ union-intersection
8284
............
8385

8486
---
85-
Total: 187
86-
Passed: 178
87+
Total: 189
88+
Passed: 180
8789
Failed: 9

gateways/grafbase-gateway/results.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ provides-on-interface
5252
XX
5353
provides-on-union
5454
.X
55+
requires-circular
56+
..
5557
requires-interface
5658
.....
5759
requires-requires
@@ -82,6 +84,6 @@ union-intersection
8284
........X..X
8385

8486
---
85-
Total: 187
86-
Passed: 170
87+
Total: 189
88+
Passed: 172
8789
Failed: 17

gateways/hive-gateway/gateway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Hive Gateway",
33
"repository": "https://github.com/graphql-hive/gateway",
4-
"website": "https://the-guild.dev/graphql/hive/docs/gateway",
4+
"website": "https://the-guild.dev/graphql/hive/gateway",
55
"graphql": "http://127.0.0.1:4000/graphql",
66
"health": "http://127.0.0.1:4000/healthcheck"
77
}

gateways/hive-gateway/results.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ provides-on-interface
5252
..
5353
provides-on-union
5454
..
55+
requires-circular
56+
XX
5557
requires-interface
5658
.....
5759
requires-requires
@@ -82,6 +84,6 @@ union-intersection
8284
............
8385

8486
---
85-
Total: 187
87+
Total: 189
8688
Passed: 187
87-
Failed: 0
89+
Failed: 2

gateways/inigo-gateway/results.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ provides-on-interface
5252
XX
5353
provides-on-union
5454
XX
55+
requires-circular
56+
XX
5557
requires-interface
5658
XXXXX
5759
requires-requires
@@ -82,6 +84,6 @@ union-intersection
8284
XXXXXXXXX.XX
8385

8486
---
85-
Total: 187
87+
Total: 189
8688
Passed: 91
87-
Failed: 96
89+
Failed: 98

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ async function getTestCases(router: ReturnType<typeof createRouter>) {
4545
import("./test-suites/requires-with-argument/index.js"),
4646
import("./test-suites/keys-mashup/index.js"),
4747
import("./test-suites/null-keys/index.js"),
48+
import("./test-suites/requires-circular/index.js"),
4849
].map((i) => i.then((e) => e.default))
4950
);
5051

0 commit comments

Comments
 (0)