as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
Get started
Connect with Matter
Alexa Connect Kit
Add-ons
Certify
Resources
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Use the Smart Home Test Tool


Use the Smart Home Test tool in the Alexa developer console to verify that you implemented the Alexa interfaces correctly in your smart home add-on. The automated tests send directives to your add-on and verify that you set the state correctly. By using the Smart Home Test tool, you can verify that you implemented the Alexa interfaces in your add-on correctly.

The Smart Home Test tool provides automated tests for the following Alexa interfaces: BrightnessController, ColorController, ColorTemperatureController, PowerController, ThermostatController.

For details about other test tools, see Test and Debug Your Smart Home Add-on. To invoke the Smart Home Test tool by using REST, see Smart Home Evaluation REST API.

Test in the Alexa developer console

You run the Smart Home tests on the Test tab in the Alexa developer console. Each Smart Home Test sends directives to your add-on, and then compares the expected device state with the actual device state. You can see the results of your tests in the console. If you want to see the contents of each test, you can download them from the developer console.

You can run the Smart Home Tests on your smart home add-on before you submit it for certification to reduce the potential for errors during certification. A successful Smart Home Test result doesn't guarantee certification. For more details about certification, see Smart Home and Video Certification Guide and Works with Alexa Overview.

The following image shows the Smart Home Test page in the developer console for a smart home add-on that controls a color bulb.

Test results on the Smart Home Test page that shows start time, device name, status, and actions.
Smart Home Test page

Run tests

Use the following procedure to run a new test on your smart home add-on.

To run a test on your add-on in the Alexa developer console

  1. Sign in to the Alexa developer console.
  2. On the Skills tab, under SKILL NAME, find your smart home add-on.
  3. Under ACTIONS, expand the dropdown list in your add-on's row, and then select Test.
  4. On the Test page, select Smart Home Test.
  5. For Device, choose the device that you want to test with your add-on.
  6. For Capabilities, choose one or more Alexa interfaces that you want to test. You can choose more than one interface for each test. Some interfaces require additional information. For example, if you choose the Alexa.ThermostatController, you also choose Celsius or Fahrenheit for the temperature scale.
  7. Choose Run Test.

Test status

While a test is running, the status appears as In Progress. After a test completes, the status appears as Passed, Failed, or Error.

The following are the possible statuses:

  • In Progress – The test is running.
  • Passed – The test completed, and all test cases were successful.
  • Failed – The test completed, and one or more test cases were unsuccessful.
  • Error – The test wasn't run. For example, due to the test device not plugged in.

Manage tests

All your tests appear in the Test Results section of the Test page. You can expand each test result row to see the details for the test. Test results remain in the Test Results section for 30 days.

Use the menus that precede the test results to filter the results. You can filter the results by device, interface, status, and age of the test.

Use the menu in the ACTIONS column to manage your test results. From the ACTIONS menu, you can do the following:

  • New run – Rerun a previous test with the same options. For example, rerun a failed test after updating your code.
  • Download test results – Download the details of the test including the expected states and actual states.
  • Download test cases – Download the details of the test cases for the test.

Was this page helpful?

Last updated: May 13, 2026