-
Notifications
You must be signed in to change notification settings - Fork 0
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
Things we want to learn about #2
Comments
It looks like Cypress might support the Electron browser: https://docs.cypress.io/guides/guides/launching-browsers#Electron-Browser and https://docs.cypress.io/guides/guides/cross-browser-testing I'm unclear if that is different than supporting an Electron app. We might want to revisit that. |
FYI, if you ever need to debug electron-forge, you can use syntax like |
FYI: electron-packager timed out when packaging ng w/ default settings. We fixed this by ignoring all @angular packages as follows:
My preference would be to: |
We tried using electron-builder because we thought it supported multi-platform builds from a single platform. It does not: linux builds on windows have been broken for at least 3 years and don't appear to be on anyone's radar to fix. Mac builds can only be built on mac. It was a bit snappier to make builds (after the first one which caches some stuff) on windows; I don't know if we'd see the same performance improvement on Windows. |
building
deploying
make
? - due to compilation, npm scripts may not be sufficientautomated testing
jest
react-test-renderer
unit -- this library only lets you examine the DOM and we wanted the ability to test React components themselves@testing-library/react
unit -- There is no adapter to allow Enzyme to work with the latest version of React (17.x). The PR has been stalled for over a year. There is an unofficial adapter which we decided not to use.enzyme
integration -- Cypress has stopped supporting ElectronCypress
integration -- Spectron has been deprecatedSpectron
Selenium
via WebdriverJSPlaywright
integrated with Electron plus Playwright Test (see also "Playwright vs Webdriver")PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm i -D playwright
system level/UI: there aren't any external dependencies to justify this level of testing.cross-platform?
what does interacting with local resources look like?
logging
ui framework
React
Angular
ng generate component
.SPA/routing- this is typically a concern of the UI framework and shouldn't be any different within ElectronVue, Ember, Backbone?: we decided not to pursue this because the integration of these frameworks won't be significantly different than the React or Angular examples.Localization/internationalization
The text was updated successfully, but these errors were encountered: