spectron-cli

0.1.2 • Public • Published

CLI tool to help create and add Spectron tests.

Install

npm install spectron-cli

Usage

Initialize Spectron tests

spectron-cli init

The init command does a couple of things:

  • Creates an e2e directory, if it doesn't already exist.
  • Creates a test.spec.js file with a Spectron test template.
  • Creates a test.page.js file with a template to host properties and function.

Add Spectron test file

spectron-cli add [test name]

The add command adds a new spec file with the name of your choosing (default is test.spec.js).

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i spectron-cli

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • jwood803