测试
Tauri 提供了对单元测试和集成测试的支持,使用模拟运行时。在模拟运行时,原生 Webview 库不会被执行。[在此处查看更多关于模拟运行时的信息]。
🌐 Tauri offers support for both unit and integration testing utilizing a mock runtime. Under the mock runtime, native webview libraries are not executed. See more about the mock runtime here.
Tauri 还提供利用 WebDriver 协议的端到端测试支持。桌面和移动设备都可以使用它,除了 macOS,它不提供桌面 WebDriver 客户端。[在这里查看更多关于 WebDriver 支持的信息]。
🌐 Tauri also provides support for end-to-end testing support utilizing the WebDriver protocol. Both desktop and mobile work with it, except for macOS which does not provide a desktop WebDriver client. See more about WebDriver support here.
我们提供 tauri-action 来帮助运行 GitHub actions,但任何类型的 CI/CD 运行器都可以与 Tauri 一起使用,只要每个平台都安装了用于编译所需的库。
🌐 We offer tauri-action to help run GitHub actions, but any sort of CI/CD runner can be used with Tauri as long as each platform has the required libraries installed to compile against.
Tauri 中文网 - 粤ICP备13048890号
Nodejs.cn 旗下网站