Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectron deprecated since Feb 2022 - new solution for integration testing needed #798

Open
tobias-klein opened this issue Nov 1, 2022 · 1 comment

Comments

@tobias-klein
Copy link
Member

tobias-klein commented Nov 1, 2022

Spectron is deprecated since February 2022. The background is explained here.

The currently used version 19.0.0 still works with Electron 17.x, but when moving to future Electron releases the integration test suite will likely break.

Alternative options for automated testing are described here.

When switching to a different test framework it would be nice if we could keep using the existing Cucumber test scenarios.

A very simple alternative could be cucumber-electron, which executes cucumber in the context of Electron.

see electron-userland/spectron#1045

@tobias-klein
Copy link
Member Author

Just tried to get WebDriverIO running, but failed ... seems quite involved.

https://www.electronjs.org/docs/latest/tutorial/automated-testing#connect-wdio-to-your-electron-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant