Skip to content

Example of test code with Eletron Spectron on OpenFin Runtime

License

Notifications You must be signed in to change notification settings

rchick/hello-openfin-spectron-example

 
 

Repository files navigation

Hello OpenFin Spectron Example (Forking to add Mac/Linux support)

Overview

Included in this repository are simple example tests for the 'Hello OpenFin' app using the Electron Spectron.

Assumptions

  1. Install Node.js
  2. Download/clone this repository and cd into it
  3. Install all the dependencies
npm install
  1. Globally install Mocha test framework
npm install -g mocha
  1. Install Hello OpenFin app from https://openfin.co/demos/

Launch

Run Locally

The following steps will help you run tests:

mocha test/hello-openfin.js

or on Mac or Linux use:

npm mocha

or

yarn mocha

Disclaimers

  • This is a starter example and intended to demonstrate to app providers a sample of how to approach an implementation. There are potentially other ways to approach it and alternatives could be considered.
  • This is an open source project and all are encouraged to contribute.
  • Its possible that the repo is not actively maintained.

License

MIT

The code in this repository is covered by the included license.

However, if you run this code, it may call on the OpenFin RVM or OpenFin Runtime, which are covered by OpenFin’s Developer, Community, and Enterprise licenses. You can learn more about OpenFin licensing at the links listed below or just email us at [email protected] with questions.

https://openfin.co/developer-agreement/
https://openfin.co/licensing/

Support

Please enter an issue in the repo for any questions or problems.
Alternatively, please contact us at [email protected]

About

Example of test code with Eletron Spectron on OpenFin Runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.2%
  • Batchfile 8.8%