mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
5677446ff3
This requires rewriting the test class to split it into 3, each specifying the correct environment variables for HGE. It would be lovely to use parameterization rather than subclassing, but that doesn't work because of `hge_fixture_env`, which creates a "soft" dependency between the environment variables and `hge_server`. Parameterizing the former *should* force the latter to be recreated for each new set of environment variables, but `hge_server` isn't actually aware there's a dependency. See `TestParameterizedFixtures` in test_tests.py for more information. [NDAT-539]: https://hasurahq.atlassian.net/browse/NDAT-539?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8747 GitOrigin-RevId: 878b2fc20f39f962a67cd950046a99c283cfc6fc
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
# This file lists the various test suites that can be run in order to fully
|
|
# exercise HGE server with the Python tests. They are split into suites based
|
|
# on how HGE needs to be started.
|
|
#
|
|
# To run them, the relevant name is passed to test-server.sh, which then starts
|
|
# HGE in the correct fashion and runs the appropriate tests.
|
|
#
|
|
# We *also* have a new way of running the Python tests, in which each test
|
|
# starts HGE with the appropriate configuration. This file is not used there, as
|
|
# we run all the tests at once.
|
|
#
|
|
# Some of the below test suites are commented out. These are the tests that
|
|
# are fully covered by the new style, and are therefore duplicated here.
|
|
#
|
|
# ================================================================
|
|
#
|
|
# no-auth
|
|
# admin-secret
|
|
# admin-secret-unauthorized-role
|
|
# read-only-db
|
|
jwt-rs512
|
|
jwt-ed25519
|
|
jwt-stringified
|
|
jwt-audience-check-single-string
|
|
jwt-audience-check-list-string
|
|
jwt-issuer-check
|
|
jwt-with-claims-namespace-path
|
|
jwt-claims-map-with-json-path-values
|
|
jwt-claims-map-with-literal-values
|
|
jwt-with-expiry-time-leeway
|
|
jwt-cookie
|
|
jwt-cookie-unauthorized-role
|
|
# cors-domains
|
|
# auth-webhook-cookie
|
|
# ws-init-cookie-read-cors-enabled
|
|
# ws-init-cookie-noread
|
|
# ws-init-cookie-read-cors-disabled
|
|
# ws-graphql-api-disabled
|
|
# ws-metadata-api-disabled
|
|
# remote-schema-permissions
|
|
# function-permissions
|
|
# roles-inheritance
|
|
# naming-conventions
|
|
# streaming-subscriptions
|
|
# remote-schema-https
|
|
# query-caching
|
|
query-logs
|
|
startup-db-calls
|
|
# webhook-request-context
|
|
# post-webhook
|
|
# get-webhook
|
|
# insecure-webhook
|
|
# insecure-webhook-with-admin-secret
|
|
# apollo-federation
|
|
# allowlist-queries
|
|
# jwk-url
|
|
horizontal-scaling
|
|
# developer-api-tests
|