mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
92f8b043ce
* 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 |
||
---|---|---|
.. | ||
.gitignore | ||
README.md | ||
test1.yaml | ||
test2.yaml | ||
test3.yaml |
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.