Acquire sources.
git clone https://github.com/mqtt-tools/mqttshark
cd mqttshark
Install prerequisites into Python virtualenv.
python3 -m venv .venv
source .venv/bin/activate
pip install --requirement requirements-tests.txt
Run software tests.
source .venv/bin/activate
pytest