graphql-python / graphql-python/graphene

Testing subscriptions using `graphene.test`?

Open
#1,294 1 comment 2 reactions 0 assignees View on GitHub
✨ enhancement
Dominant language
Python
Stars
8.2k
Forks
818
PR merge metrics
No merged PRs in 30d

Description

What is the idiomatic approach for testing subscriptions? It seems that the `client.execute` option in `graphene.test` is more appropriate for `Query` testing.

P.S. There is a subscription execution example in the documentation but it does not seem to be part of the testing library (https://docs.graphene-python.org/en/latest/execution/subscriptions/).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.