mqttjs / mqtt-elements

Polymer elements for MQTT
http://mqttjs.github.io/mqtt-elements/
MIT License
27 stars 6 forks source link

Creating a MQTT server grunt plugin #9

Open sandro-k opened 9 years ago

sandro-k commented 9 years ago

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.

mcollina commented 9 years ago

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 notifications@github.com 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.

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