1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-29 02:09:44 +01:00
Files
.devcontainer
.github
docker
esphome
script
tests
unit_tests
fixtures
conftest.py
strategies.py
test_codegen.py
test_config_validation.py
test_core.py
test_cpp_generator.py
test_cpp_helpers.py
test_helpers.py
test_pins.py
.gitignore
README.md
custom.h
livingroom32.cpp
livingroom8266.cpp
test1.yaml
test2.yaml
test3.yaml
test4.yaml
.clang-format
.clang-tidy
.coveragerc
.dockerignore
.editorconfig
.gitignore
.gitlab-ci.yml
.gitpod.yml
.pre-commit-config.yaml
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
MANIFEST.in
README.md
platformio.ini
pylintrc
pytest.ini
requirements.txt
requirements_test.txt
setup.cfg
setup.py
esphome/tests/unit_tests
Tim Savage d447548893 Tests for CPP Code generation and some Python3 improvements ()
* Basic pytest configuration

* Added unit_test script that triggers pytest

* Changed "fixtures" to fixture_path

This is consistent with pytest's tmp_path

* Initial unit tests for esphome.helpers

* Disabled coverage reporting for esphome/components.

Focus initial unittest efforts on the core code.

* Migrated some ip_address to hypothesis

* Added a hypothesis MAC address strategy

* Initial tests for core

* Added hypothesis to requirements

* Added tests for core classes

TestTimePeriod
Lambda
ID
DocumentLocation
DocumentRange
Define
Library

* Updated test config so package root is discovered

* Setup fixtures and inital tests for pins

* Added tests for validate GPIO

* Added tests for pin type

* Added initial config_validation tests

* Added more tests for config_validation

* Added comparison unit tests

* Added repr to core.TimePeriod. Simplified identifying faults in tests

* Fixed inverted gt/lt tests

* Some tests for Espcore

* Updated syntax for Python3

* Removed usage of kwarg that isn't required

* Started writing test cases

* Started writing test cases for cpp_generator

* Additional docs and more Python3 releated improvements

* More test cases for cpp_generator.

* Fixed linter errors

* Add codegen tests to ensure file API remains stable

* Add test cases for cpp_helpers
2020-04-19 21:05:58 -03:00
..