You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing integration tests for a Python project (https://github.com/f18m/ha-alarm-raspy2mqtt) that publishes messages to an MQTT broker.
I would like to use testcontainers to create the integration tests and noticed that there is no specialization available for MQTT and for its most-used broker which is Mosquitto.
So I'd like to propose the addition of a MosquittoContainer class to testcontainers-python.
Why should it be done this way?
There are a number of helpers that could be provided out of the box to ease integration testing of MQTT applications.
I can provide a PR to add my own MosquittoContainer implementation if there is interest by the project maintainers...
The text was updated successfully, but these errors were encountered:
sure, i cant promise it will be a priority but we've been merging a bunch of these. the hivemq seems to be king in the enterprise world with this so id say if we do merge a mqtt one it has to be this one:
hi @alexanderankin ,
thanks for the reply. Actually I've been developing the specialization of DockerContainer for the Mosquitto broker (https://mosquitto.org/) which is a very popular choice at least in home automation environment... I could contribute that if there's interest...
What are you trying to do?
I'm writing integration tests for a Python project (https://github.com/f18m/ha-alarm-raspy2mqtt) that publishes messages to an MQTT broker.
I would like to use testcontainers to create the integration tests and noticed that there is no specialization available for MQTT and for its most-used broker which is Mosquitto.
So I'd like to propose the addition of a MosquittoContainer class to testcontainers-python.
Why should it be done this way?
There are a number of helpers that could be provided out of the box to ease integration testing of MQTT applications.
I can provide a PR to add my own MosquittoContainer implementation if there is interest by the project maintainers...
The text was updated successfully, but these errors were encountered: