Christopher Mullins 30e05e5b1a Update README for tests %!s(int64=6) %!d(string=hai) anos
..
lib f42d3a3c7e update MQTT test %!s(int64=6) %!d(string=hai) anos
spec f42d3a3c7e update MQTT test %!s(int64=6) %!d(string=hai) anos
.rspec 00ed98f276 add integration tests %!s(int64=6) %!d(string=hai) anos
.ruby-version 00ed98f276 add integration tests %!s(int64=6) %!d(string=hai) anos
Gemfile 00ed98f276 add integration tests %!s(int64=6) %!d(string=hai) anos
Gemfile.lock 00ed98f276 add integration tests %!s(int64=6) %!d(string=hai) anos
README.md 30e05e5b1a Update README for tests %!s(int64=6) %!d(string=hai) anos
espmh.env.example 0956246114 add test for lwt/birth %!s(int64=6) %!d(string=hai) anos
settings.json.example 10f5157d85 remove extraneous settings %!s(int64=6) %!d(string=hai) anos

README.md

Integration Tests

This integration test suite is built using rspec. It integrates with espMH in a variety of ways, and monitors externally visible behaviors and states to ensure they match expectations.

Setup

  1. Copy settings.json.example to settings.json and make appropriate modifications for your setup.
  2. Copy espmh.env.example to espmh.env and make appropriate modifications. For MQTT tests, you will need an external MQTT broker.
  3. Install ruby and the bundler gem.
  4. Run bundle install.

Running

Run the tests using bundle exec rspec.