Testing flask socketio

This page summarizes the projects mentioned and recommended in the original post on /r/flask

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Flask-SocketIO

    Socket.IO integration for Flask applications.

  • Hi! I'm trying to write test cases for Flask socket io using pytest. But it seems we can't test the emitted messages from namespaces using pytest only. What would be a good approach to test it? Also, I am trying to figure out resources for flask socketio testing, I tried writing tests using some repos but there's not much explanation on what is being done. So it would be really helpful if anyone could point me towards any resources. These are the repos I was talking about 1. https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/test_socketio.py 2. https://github.com/julianYaman/bitcoinPriceApp_python/tree/master

  • bitcoinPriceApp_python

    💰 This is a web application written in Python where you can see a simple text with the current price of Bitcoin.

  • Hi! I'm trying to write test cases for Flask socket io using pytest. But it seems we can't test the emitted messages from namespaces using pytest only. What would be a good approach to test it? Also, I am trying to figure out resources for flask socketio testing, I tried writing tests using some repos but there's not much explanation on what is being done. So it would be really helpful if anyone could point me towards any resources. These are the repos I was talking about 1. https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/test_socketio.py 2. https://github.com/julianYaman/bitcoinPriceApp_python/tree/master

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts