eclipse / paho.golang

Go libraries
Other
339 stars 93 forks source link

Testing #5

Open alsm opened 5 years ago

alsm commented 5 years ago

The code of the library is undertested, both for correctness and performance. A v5 broker implementation for testing is here https://github.com/eclipse/paho.mqtt.testing/ and instance of which is running and available at paho8181.cloudapp.net:1883 (this server supports v5, v3 and websockets for both on the same port)

MattBrittan commented 1 year ago

Added a range of AutoPaho tests in #156 and #158; these exercise a range of functions in the core paho library too. These use a new test server (autopaho/internal/testserver) which enables connection/disconnection logic to be exercised. This may not be a perfect approach but it avoids the need to run external tools.