esphome/tests
Michiel van Turnhout 92f8b043ce Add MPR121 Capacitive Touch Sensor (#449)
* module mpr121

* added mpr121 sensor and binary sensor

* added tests

* removed CONF_CHANNELS, it is not supported in the esphome-code mpr121
code

* changed namespace for mpr121 to binary_sensor

* Update esphome/components/binary_sensor/mpr121.py

Co-Authored-By: mvturnho <qris.online@gmail.com>

* fixed class names

* fix lint errors
2019-02-24 21:48:28 +01:00
..
.gitignore Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
README.md Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
test1.yaml Add report_position test 2019-02-22 17:43:30 +01:00
test2.yaml Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
test3.yaml Add MPR121 Capacitive Touch Sensor (#449) 2019-02-24 21:48:28 +01:00

Tests for ESPHome

This directory contains some tests for ESPHome. At the moment, all the tests only work by simply executing esphome over some YAML files that are made to test whether the yaml gets converted to the proper C++ code.

Of course this is all just very high-level and things like unit tests would be much better. So if you have time and know how to set up a unit testing framework for python, please do give it a try.