--- title: "SDK 测试 " slug: "sdk-test" updated: 2025-05-27T15:23:29Z published: 2025-05-27T15:23:29Z canonical: "support.tulip.co/sdk-test" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # SDK 测试 *了解如何测试新建的边缘驱动程序* ### 简介 1. 学习内容 1. 如何测试边缘驱动程序项目 2. 您将需要什么(先决条件) 1. 可随时运行的边缘驱动程序--如果还没有,请先查看[SDK Develop](/r230/docs/sdk-develop)和[SDK Create](/r230/docs/sdk-create)。 ### 在郁金香播放器中测试驱动程序 Warning This is available in Player 2.8.0. 默认情况下,Tulip Player 使用开箱即用的内置驱动程序运行。不过,您也可以在 Tulip Player 中本地运行自定义驱动程序,即使没有 Tulip 实例。要做到这一点,你可以从命令行启动播放器,并输入驱动程序 dist 目录的路径。从[此处](https://download.tulip.co/)下载并安装**郁金香播放器**。 在 Windows 系统中,可以在终端使用`set`命令设置`TULIP_PLAYER_CUSTOM_DRIVERS_PATH`环境变量,然后在同一终端运行 "Tulip Player.exe": `batC:\Users\Bob> set "TULIP_PLAYER_CUSTOM_DRIVERS_PATH=C:\Users\Bob\Documents\esp32-diy-sensor\dist "C:\Users\Bob> "C:\Users\Bob\AppData\Local\tulip-player-desktop\Tulip Player.exe"` 播放器启动后,在播放器应用程序中打开**浏览器开发工具**,并转到控制台选项卡。![SDK](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202025-03-27%20at%2011.12.26%20AM.png) 你可以触发事件(向设备发送命令)。然后,在末尾添加 .run() 使其运行一定次数。![Screenshot 2025-05-09 at 1.45.38 PM.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202025-05-09%20at%201.45.38%20PM.png) ![Screenshot 2025-05-09 at 1.46.17 PM.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202025-05-09%20at%201.46.17%20PM.png){height="" width=""} 如果事件成功,你将看到它们在开发者控制台中弹出。 使用"[CED]"过滤信息,查看驱动程序日志。 ![SDK](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202025-03-27%20at%2011.12.30%20AM.png){height="" width="""} 如果成功,你应该能看到实时记录温度和湿度值的 "数据 "事件。