Skip to main content

Spectron 弃用通知

· 4 min read

Spectron 将于 2022 年 2 月 1 日弃用。

🌐 Spectron will be deprecated on February 1st, 2022.


从2022年2月开始,Spectron 将被 Electron 团队正式弃用

🌐 Beginning in February 2022, Spectron will be officially deprecated by the Electron team.

为什么要弃用 Spectron?

🌐 Why Deprecate Spectron?

虽然 Spectron 一直为每个新版本的 Electron 发布新版本,但该项目的维护和改进已经非常少持续了一年多,目前没有全职维护者。随着远程模块从 Electron 核心移出并在 Electron 14 中成为外部模块,Spectron 将需要进行重大重写才能继续可靠运行。

🌐 While Spectron has consistently put out new releases for each new version of Electron, the project has had very little maintenance and improvements for well over a year, and currently has no full-time maintainers. With the remote module moving outside of Electron core and into an external module in Electron 14, Spectron will require a major rewrite to continue working reliably.

在审查了 Spectron 持续维护的几个可用选项后,Electron 团队决定在 2022 年弃用 Spectron。

🌐 After reviewing several available options for Spectron's continued maintenance, the Electron team has decided to deprecate Spectron in 2022.

弃用时间表

🌐 Deprecation Timeline

以下是我们计划的弃用时间表:

🌐 The following is our planned deprecation timeline:

  • 2021年11月 - 2022年1月:Electron 团队将继续接受社区的拉取请求。
  • 2022年1月:将发布关于Spectron弃用的最终警告公告版本。
  • 2022年2月1日:Spectron 的仓库将被标记为“已归档”。不再接受任何拉取请求。

自2022年2月1日之后,Electron 将继续无限期保留 Spectron 仓库,以便他人可以分叉或使用现有代码进行项目开发。我们希望这能为仍依赖 Spectron 的项目提供更长的过渡时间。

🌐 Following February 1st, 2022, Electron will continue to leave the Spectron repo up indefinitely, so that others are welcome to fork or use the existing code for their projects. We hope this will help provide a longer transition to any projects that may still depend on Spectron.

Spectron 的替代方案

🌐 Alternatives to Spectron

如果你当前在项目中使用 Spectron 并希望迁移到其他测试解决方案,你可以阅读我们的自动化测试指南

🌐 If you're currently using Spectron in your project and would like to migrate to an alternative testing solution, you can read our guide for automated testing here.

我们目前还有其他几个推荐替代 Spectron 的方案,包括 Playwright 和 WebDriverIO。每个选项的官方教程可以在我们的自动化测试文档中找到。

🌐 We currently have several other recommended alternatives to Spectron, including Playwright and WebDriverIO. Official tutorials for each option can be found in our Automated Testing documentation.

下一步计划

🌐 What's Next

我们 Electron 团队感谢你使用 Spectron 和 Electron。我们理解许多人依赖 Spectron 来测试应用,因此我们希望尽可能让你在过渡进程中感到轻松。感谢你选择 Electron!

🌐 We here on the Electron team appreciate you using Spectron and Electron. We understand that many of you depend on Spectron for testing your apps, and we want to make this transition as painless for you as possible. Thank you for choosing Electron!