ezra-bible-app / ezra-bible-app

Ezra Bible App is a modern and user-friendly Bible app for desktops, tablets and mobiles focussing on topical study
https://ezrabibleapp.net
GNU General Public License v2.0
145 stars 27 forks source link

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

Open tobias-klein opened 1 year ago

tobias-klein commented 1 year ago

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 https://github.com/electron-userland/spectron/issues/1045

tobias-klein commented 1 year ago

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