1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
qtmqtt/tests
Jani Heikkinen 5735946c27 Update dependencies on 'dev'
Also, remove optional dependency to websockets, which is not
part of Qt 6.0 and fix compile error against unsigned comparison.

Switch default test configuration to not launch TLS brokers.
Latest COIN updates causes paho to fail in the SSL setup.

Task-number: QTBUG-88189
Change-Id: I9d31f9e54801d269122878ab4cf7541512fdbe98
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
2020-11-11 12:41:25 +01:00
..
auto Use QList instead of QVector in qtmqtt 2020-06-25 12:09:52 +02:00
benchmarks Make test topics unique to test class 2018-07-20 11:55:23 +00:00
common Update dependencies on 'dev' 2020-11-11 12:41:25 +01:00
libfuzzer/mqtt/data_receive Add libfuzzer test for receiving data 2019-04-18 08:13:42 +00:00
manual/sslconfiguration Regenerate projects 2019-11-15 13:02:47 +00:00
.prev_CMakeLists.txt Regenerate projects 2020-05-26 15:23:16 +00:00
CMakeLists.txt Regenerate projects 2020-05-26 15:23:16 +00:00
README.txt Add README for using auto tests 2018-02-02 07:59:27 +00:00
tests.pro Only build benchmarks in release mode 2017-07-24 10:48:35 +00:00

The tests included in the subdirectories check for functionality and
conformance of the Qt MQTT module.

To be able to run the tests successfully, a broker needs to be available and
reachable.

The continuous integration utilized the paho conformance test broker. It can
be obtained at this location:
https://github.com/eclipse/paho.mqtt.testing

For the unit tests being able to locate this script, use the
MQTT_TEST_BROKER_LOCATION environment variable and set it
to “<install-path>/interoperability/startbroker.py”.

Alternatively, any broker can be instantiated and passed to the auto tests
by using the environment variable MQTT_TEST_BROKER. This must point to a
valid url. The broker must run on the standardized port 1883.

Note, that the unit tests verify functionality against the MQTT 3.1.1 version
of the standard, hence the broker needs to be compliant to the adherent
specifications.