没有合适的资源?快使用搜索试试~ 我知道了~
Appdaemon-Test-Framework:干净,易于理解的Appdaemon测试
共71个文件
py:45个
xml:8个
ini:3个
需积分: 5 0 下载量 161 浏览量
2021-05-14
13:08:35
上传
评论
收藏 97KB ZIP 举报
温馨提示
Appdaemon测试框架 适用于您的Appdaemon自动化的干净,易读的测试。 完全透明,无需修改代码。 模拟您的房屋状态: given_that.state_of('sensor.temperature').is_set_to('24.9') 无缝断言: assert_that('light.bathroom').was.turned_on() 模拟时间: time_travel.fast_forward(2).minutes() 看起来如何? def test_during_night_light_turn_on ( given_that , living_room , assert_that ): given_that . state_of ( 'sensor.living_room_illumination' ). is_set_to ( 200 ) # 2
资源推荐
资源详情
资源评论
收起资源包目录
Appdaemon-Test-Framework-master.zip (71个子文件)
Appdaemon-Test-Framework-master
MANIFEST.in 36B
Pipfile.lock 34KB
doc
pytest_example.py 931B
unittest_example.py 2KB
full_example
apps
__init__.py 0B
entity_ids.py 1KB
kitchen.py 3KB
bathroom.py 11KB
apps.yaml 92B
Pipfile.lock 50KB
start_tdd.sh 82B
pytest.ini 9B
Pipfile 408B
conftest.py 558B
tests
test_assertions_dsl.py 760B
test_vanilla_file.py 2KB
test_kitchen.py 10KB
test_bathroom.py 18KB
__init__.py 0B
.idea
misc.xml 309B
inspectionProfiles
profiles_settings.xml 174B
modules.xml 296B
codeStyles
codeStyleConfig.xml 149B
runConfigurations
All_tests.xml 964B
__mark_only__tests.xml 981B
All_tests_except_w__pytester.xml 991B
appdaemontestframework.iml 453B
vcs.xml 180B
.travis.yml 1KB
tox.ini 127B
pytest.ini 71B
LICENSE 1KB
test
test_assert_that.py 5KB
test_assert_callback_registration.py 12KB
appdaemon_mock
test_scheduler.py 9KB
test_miscellaneous_helper_functions.py 881B
test_events.py 763B
test_logging.py 5KB
test_automation_fixture.py 12KB
test_state.py 5KB
test_with_arguments.py 2KB
test_time_travel.py 4KB
integration_tests
apps
__init__.py 0B
entity_ids.py 1KB
kitchen.py 3KB
bathroom.py 11KB
apps.yaml 92B
tests
test_assertions_dsl.py 760B
test_vanilla_file.py 2KB
test_kitchen.py 10KB
test_bathroom.py 18KB
__init__.py 0B
test_extra_hass_functions.py 899B
setup.py 1009B
README.md 26KB
Pipfile 291B
conftest.py 301B
appdaemontestframework
appdaemon_mock
appdaemon.py 481B
__init__.py 1KB
scheduler.py 6KB
given_that.py 4KB
hass_mocks.py 7KB
__init__.py 321B
time_travel.py 2KB
assert_that.py 10KB
pytest_conftest.py 1KB
automation_fixture.py 7KB
common.py 55B
.gitignore 2KB
_config.yml 26B
CHANGELOG.md 5KB
共 71 条
- 1
资源评论
苏咔咔
- 粉丝: 26
- 资源: 4706
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功