Christopher Mullins 303271e542 add rspec il y a 6 ans
..
helpers 743fc9f2a7 Improvements in group 0 behavior (#426) il y a 6 ans
lib 400ced949b Add support for :dec_device_id and :hex_device_id in command topic (#431) il y a 6 ans
spec 400ced949b Add support for :dec_device_id and :hex_device_id in command topic (#431) il y a 6 ans
.rspec 00ed98f276 add integration tests il y a 6 ans
.ruby-version 00ed98f276 add integration tests il y a 6 ans
Gemfile 303271e542 add rspec il y a 6 ans
Gemfile.lock 303271e542 add rspec il y a 6 ans
README.md 30e05e5b1a Update README for tests il y a 6 ans
espmh.env.example 9798e2c2ad Add setting for static IP address (#425) il y a 6 ans
settings.json.example 10f5157d85 remove extraneous settings il y a 6 ans

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.