-
Notifications
You must be signed in to change notification settings - Fork 875
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
Add test setup #50
Comments
Spectron --> https://github.com/electron/spectron |
State of the thing: Taking this branch as the state from which we should start writing tests, we've got many different components to test:
I can easily start to create the tests for the components and the utils. Although, I'm not sure how to do testing for the controls, which are basically event handlers of |
Make components as independent as possible Remove repo.lock when not running (fix #588) Fix #590 by using MFS Save pins on MFS (ref.: #597) Order addresses on info pane (fix #599) Show previously pinned stuff (fix #600) Save Screenshots on MFS While daemon is turned off, let the user turn it on or close Desktop only. Improve Files pane Add some basic tests to start the testing journey #50
WIP on adding spectron test in #730 |
Superseded by #1121 |
"Frontend" (browser processes)
This is about testing react components in isolation. To run the tests we should use karma and spawn a chrome process (close enough to electrons chromium instances). Interesting modules and notes
"Backend" (electron main process)
This is much harder, as too much functionality depends on running the real deal aka an electron instance. So very happy to hear any suggestions around this.
The text was updated successfully, but these errors were encountered: