mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
7ff3f752e2
* Initial Commit - ST7735 * Updated for CI checks * Updated for travis build * Travis fixes * Travis line too long * Travis fixes * Fixed up travis format issues * Travis Fixes * Initial Commit - ST7735 * Updated for CI checks * Updated for travis build * Travis fixes * Travis line too long * Travis fixes * Fixed up travis format issues * Travis Fixes * Update to new color API and added test * Check fixes * Fixed sid length in test * Cleaned up whitespaces * kbx81 recommended fixes * test fix * Fixes of fixes * Fixed test1.yaml * Fixed test1.yaml * Changed digital pin #s to gpio * Updated to match kbx's color names * Typo for ST7735_INITR_MINI_160X80 * Updated 8bit color space code Added to_rgb_332 to color.h fixed typo * Added in to_rgb_332,to_bgr_332, rgb_332to_rgb_556 and a more generic scale * Fixed MADCTL * Fixp MADCTL * Implemented usrbgr option updated color to support 332 bgr conversion typo fix * Updated to_bgr_332 * Fix up for clang * FIx up init code. type in buffer caused overrun * fixup protected names * typos * Matched use_bgr to its conf * color.h red fix in bgr_233to_rgb_565 * Fix ST7735_INITR_MINI_160X80 * Renamed bgr_233to_bgr_565 to match its function Color space leak in bgr_233to_bgr_565. cleaned up init code for displays. * Fix * clang fix * Started Color Conversion * Added various bit color functions add triadto * lint changes * Various fixes * Various formatting fixes. Wish my checks worked! * Updated color api to support different formats removed to_rgb_565 * lint clang fixes * Test1 fix * test1.yaml fix * fixed 565 in ILI9341Display * Added CodeOwners * Updated CODEOWNERS * changed to to332 and to565 * Waiting for color.h changes * Stage changes * Removed all changes except this driver * Moved color functions into driver * lint changes * Lint and removed unrelated display driver changes * Lint changes * Initial Commit - ST7735 * Updated for CI checks * Updated for travis build * Travis fixes * Travis line too long * Travis fixes * Fixed up travis format issues * Travis Fixes * Initial Commit - ST7735 * Updated for CI checks * Updated for travis build * Travis fixes * Travis line too long * Travis fixes * Fixed up travis format issues * Travis Fixes * Update to new color API and added test * Check fixes * Fixed sid length in test * Cleaned up whitespaces * kbx81 recommended fixes * test fix * Fixes of fixes * Fixed test1.yaml * Fixed test1.yaml * Changed digital pin #s to gpio * Updated to match kbx's color names * Typo for ST7735_INITR_MINI_160X80 * Updated 8bit color space code Added to_rgb_332 to color.h fixed typo * Added in to_rgb_332,to_bgr_332, rgb_332to_rgb_556 and a more generic scale * Fixed MADCTL * Fixp MADCTL * Implemented usrbgr option updated color to support 332 bgr conversion typo fix * Updated to_bgr_332 * Fix up for clang * FIx up init code. type in buffer caused overrun * fixup protected names * typos * Matched use_bgr to its conf * color.h red fix in bgr_233to_rgb_565 * Fix ST7735_INITR_MINI_160X80 * Renamed bgr_233to_bgr_565 to match its function Color space leak in bgr_233to_bgr_565. cleaned up init code for displays. * Fix * clang fix * Started Color Conversion * Added various bit color functions add triadto * lint changes * Various fixes * Various formatting fixes. Wish my checks worked! * Updated color api to support different formats removed to_rgb_565 * lint clang fixes * Test1 fix * test1.yaml fix * fixed 565 in ILI9341Display * Added CodeOwners * Updated CODEOWNERS * changed to to332 and to565 * Waiting for color.h changes * Stage changes * Removed all changes except this driver * Moved color functions into driver * lint changes * Lint and removed unrelated display driver changes * Lint changes * Updated with latest color api * pulled from origin * Updated for color.h changes * pulled test1 from dev * Added test |
||
---|---|---|
.. | ||
component_tests | ||
test_packages | ||
unit_tests | ||
.gitignore | ||
custom.h | ||
livingroom32.cpp | ||
livingroom8266.cpp | ||
README.md | ||
test1.yaml | ||
test2.yaml | ||
test3.yaml | ||
test4.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.
When adding entries in test_.yaml files we usually need only
one file updated, unless conflicting code is generated for
different configurations, e.g. wifi
and ethernet
cannot
be tested on the same device.
Current test_.yaml file contents.
Test name | Platform | Network |
---|---|---|
test1.yaml | ESP32 | wifi |
test2.yaml | ESP32 | ethernet |
test3.yaml | ESP8266 | wifi |
test4.yaml | ESP32 | ethernet |