graphql-python / graphql-python/graphene
Testing subscriptions using `graphene.test`?
- Lingua principale
- Python
- Stelle
- 8.2k
- Fork
- 818
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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/).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Read the subscription execution example in the linked documentation, then inspect the graphene.test client and its client.execute usage. Compare the documented subscription flow with the testing library to establish and document the supported idiomatic testing approach.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, testing-qa
- Tipo di issue
- Documentazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100