Projects STRLCPY graphql-engine Files
🤬
..
evaluation Loading last commit info...
fixtures
README.md
authentication.test.ts.disable
cloudfunction.test.ts
docusign.test.ts
example_api.test.ts.disable
example_api2.test.ts
example_api2_server.js
example_api3.test.ts
example_api3_server.js
example_api4.test.ts.disable
example_api5.test.ts
example_api5_server.js
example_api6.test.ts
example_api6_server.js
example_api7.test.ts.disable
example_api7_server.js.disable
example_api_server.js
example_gql_server.js
example_gql_server_ws.js
extensions.test.ts
file_upload.test.ts.disable
file_upload_api_server.js.disable
government_social_work.test.ts
ibm_language_translator.test.ts.disable
instagram.test.ts.disable
oas_3_tools.test.ts
petstore31.test.ts
stripe.test.ts
trello.test.ts
weather_underground.test.ts
README.md

Tests

We have a number of test suites used to verify the behavior of OpenAPI-to-GraphQL.

Tests against real-world APIs

The following test suites perform a simple wrapping test and do not make call against any of the respective APIs.

APITest file
N/Acloudfunction.test.ts
DocuSigndocusign.test.ts
N/Agovernment_social_work.test.ts
IBM Language Translatoribm_language_translator.test.ts
Instagraminstagram.test.ts
Stripestripe.test.ts
Weather Undergroundweather_underground_test.ts

Tests against custom APIs

We have created a number of example APIs for finer grain testing. Unfortunately, for a number of reasons including difficulty keeping tests on theme and some tests requiring their own specialized APIs, the number of tests have quickly grown and do not have meaningful identifiers.

The following table summarizes the purposes of these tests.

Test fileAPI(s)Testing purpose
example_api.test.tsExample APIAn assortment of basic functionality and options on a company-themed API
authentication.test.tsExample APIBasic authentication tests including using the viewer functionality
example_api2.test.tsExample API 2The operationIdFieldNames option
example_api3.test.tsExample API and Example API 3Creating GraphQL wrappers from multiple APIs and interOAS links
example_api4.test.tsExample API 4JSON schema combining schema keywords
example_api5.test.tsExample API 5The simpleNames option
example_api6.test.tsExample API 6An assortment of other functionality and options
example_api7.test.tsExample API 7Subscription support
file_upload.test.tsFile Upload APIFile uploads and file upload options
extensions.test.tsExtensions, Extensions Error 1, Extensions Error 2, Extensions Error 3, Extensions Error 4, Extensions Error 5, Extensions Error 6, Extensions Error 7The x-graphql-field-name, x-graphql-type-name, and x-graphql-enum-mapping extensions
Please wait...
Page is in error, reload to recover