mqtt-elements icon indicating copy to clipboard operation
mqtt-elements copied to clipboard

Creating a MQTT server grunt plugin

Open sandro-k opened this issue 9 years ago • 1 comments

For a TDD running (unit) tests after each change is a fundamental step. Therefore a development setup for the mqtt-elements would look like this

  1. Start Webserver
  2. Start MQTT-Broker
  3. Run tests
  4. Make changes -> got to 3

Sure a Webserver and a MQTT-Broker can be started manually, but having a easy working workflow is a key aspect of following a TDD development. To include a MQTT server into this workflow it should be packaged into a Grunt plugin. I would like to do that but first I need to know which version you thin is the best suited for this.

  • https://github.com/mqttjs/mqtt-server
  • https://github.com/mqttjs/MQTT.js/wiki/server
  • https://github.com/mcollina/mosca

sandro-k avatar Jun 29 '15 14:06 sandro-k

You can probably use mqtt-server, if you just need something that can speak MQTT, and you need to customize it tightly. Or just use Mosca. Il giorno lun 29 giu 2015 alle 15:27 Sanndro [email protected] ha scritto:

For a TDD running (unit) tests after each change is a fundamental step. Therefore a development setup for the mqtt-elements would look like this

  1. Start Webserver
  2. Start MQTT-Broker
  3. Run tests
  4. Make changes -> got to 3

Sure a Webserver and a MQTT-Broker can be started manually, but having a easy working workflow is a key aspect of following a TDD development. To include a MQTT server into this workflow it should be packaged into a Grunt plugin. I would like to do that but first I need to know which version you thin is the best suited for this.

  • https://github.com/mqttjs/mqtt-server
  • https://github.com/mqttjs/MQTT.js/wiki/server
  • https://github.com/mcollina/mosca

— Reply to this email directly or view it on GitHub https://github.com/mqttjs/mqtt-elements/issues/9.

mcollina avatar Jun 29 '15 15:06 mcollina