Answer the question
In order to leave comments, you need to log in
Which tool to choose to automate the testing of a desktop application on electron?
Please advise a tool for automating testing.
The essence of the problem, there is a desktop application for Windows written in electron and I would like to create e2e tests that would run automatically every day. Tests should consist of such steps as installing the program, running the program, executing test cases (clicking on buttons, filling out forms, etc.). I built the application (in .exe) through teamcity, and at the moment I'm testing it manually on my computer.
There is an idea of installing the application on a local server running teamcity and running tests there. How reasonable is this idea? Previously, I did not have to deal with testing desktop applications.
Answer the question
In order to leave comments, you need to log in
The standard tool for writing e2e tests on Electron is Spectron, in fact it is an add-on for Selenium. Jasmine or Jest can be used as a framework for writing tests with Spectron. On TeamCity, such tests run without problems, for a beautiful display of the results, you need to fasten the appropriate reporter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question