Skip to content

A reference implementation demonstrating how to write automated tests against an Electron application

Notifications You must be signed in to change notification settings

mdb/electron-app-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

electron-app-testing

A simple reference application demonstrating how to execute spectron functional tests against an electron application build.

electron-app-testing also demonstrates a technique for TravisCI CI configuration that exercises build/test functionality on both MacOS and Linux.

Run the application

npm install
npm start

Build the application for various OS/architectures

This creates builds for various OS/architectures to a build directory.

npm run build

Execute electron tests against a build

Note that this detects the current OS/architecture and executes tests against the corresponding build.

npm test

About

A reference implementation demonstrating how to write automated tests against an Electron application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published