测试
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 操作,但只要每个平台都安装了编译所需的库,任何类型的 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号