Chapter 13. Testing applications with Spectron
This chapter covers
- Using Spectron to test Electron applications
- Understanding the relationship among Spectron, WebdriverIO, and Selenium WebDriver
- Controlling Electron APIs within integration tests
At this point in the book, we’ve built a number of Electron applications. Testing these applications to make sure that they work as expected has been something of a manual process. Make a change, start the application, and click around to ensure that everything works. This is fine for small applications, but this method can become tedious in larger applications. What if a change in the code in one part of the application breaks some functionality elsewhere?
In these situations, it’s helpful to automate ...
Get Electron in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.