简体   繁体   English

测试 Google 智能家居操作

[英]Testing the Google Smart Home Action

I have developed and released Smart Home Action, Now I need to test it because I will modify that Action.我已经开发并发布了 Smart Home Action,现在我需要对其进行测试,因为我将修改该 Action。

It will be a test with Actions on Google Project with released actions, If I enable test, Is it okay to understand that the following is displayed in the list of Smart Home Actions and can be used separately?这将是一个带有已发布操作的 Google Project 上的 Actions 测试,如果我启用测试,是否可以理解以下内容显示在 Smart Home Actions 列表中并且可以单独使用? Does not it affect the released Action?不影响发布的Action吗?

[the list of Smart Home Actions] [智能家居行动一览]

  • [test] xxx Action ←Test Action [测试] xxx 动作←测试动作
  • xxx Action ←Released Action xxx 动作 ←释放动作

If you know of this,please let me know.如果您知道这一点,请告诉我。

You are correct that the "Test Action" is intended to reflect the current console configuration and any changes you make there will not affect production.您是正确的,“测试操作”旨在反映当前的控制台配置,您在那里所做的任何更改都不会影响生产。 However , Smart Home works a little differently than other Action types in ways that affect this behavior (we are working to improve this).但是,智能家居在影响此行为的方式上与其他操作类型的工作方式略有不同(我们正在努力改进这一点)。

Once your Action is deployed to production, the project will no longer reflect console changes to the test agent until those changes are submitted and reviewed.将您的操作部署到生产环境后,项目将不再将控制台更改反映到测试代理,直到这些更改被提交和审查。 The recommended way to work around this constraint is to create a second project in the Actions console that you can use to test/validate your change.解决此限制的推荐方法是在操作控制台中创建第二个项目,您可以使用它来测试/验证您的更改。

When you're ready to submit the updates to production, you can follow the steps outlined to updating your existing production project in Launching your smart home Action .当您准备好将更新提交到生产时,您可以按照启动智能家居操作中概述的步骤更新现有生产项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM