esphome/tests
Brandon Davidson 1b8d242505 Enable use of alternate hardware UARTs for logging (#427)
* Enable use of alternate hardware UARTs for logging

Enable use of Serial1 on ESP8266 and Serial1/Serial2 on ESP32 for logging.
This is frequently done on ESP8266 to allow use of Serial for UART TX+RX,
while maintaining logging output on Serial1 which is TX-only via GPIO2.

* ESPHOMELIB_UART -> UART_SELECTION_UART; HW_UART -> HARDWARE_UART

* Add test3 to travis; remove test4

* Set DEBUG_ESP_PORT based on logger UART setting
2019-02-13 11:20:22 +01:00
..
.gitignore Add native ESPHome API (#265) 2018-12-18 19:31:43 +01:00
README.md Fix docker build 2018-09-25 10:30:45 +02:00
test1.yaml Add support for JVC remote transmitting and receiving (#423) 2019-02-11 18:09:31 +01:00
test2.yaml Revert "Upgrade espressif32 package to 1.6.0 (#355)" (#422) 2019-02-11 16:50:10 +01:00
test3.yaml Enable use of alternate hardware UARTs for logging (#427) 2019-02-13 11:20:22 +01:00

Tests for esphomeyaml

This directory contains some tests for esphomeyaml. At the moment, all the tests only work by simply executing esphomeyaml over some YAML files that are made to test all of esphomeyaml's features.

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.