Socket
Socket
Sign inDemoInstall

testarmada-magellan-local-executor

Package Overview
Dependencies
35
Maintainers
11
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    testarmada-magellan-local-executor

test executor for magellan test to run in local selenium env


Version published
Weekly downloads
82
increased by30.16%
Maintainers
11
Install size
2.87 MB
Created
Weekly downloads
 

Readme

Source

Magellan-Local-Executor

Build Status License: MIT codecov

Executor for Magellan to run nightwatchjs tests in local environment.

PLEASE NOTE: Executor is only supported by magellan version 10.0.0 or higher.

What does this executor do

  1. It resolves nightwatch.json, provide nightwatch execution environment to magellan
  2. It runs nightwatch test by forking it as magellan child process

How To Use

Please follow the steps

  1. npm install testarmada-magellan-local-executor --save
  2. add following block to your magellan.json (if there isn't a magellan.json please create one under your folder root)
"executors": [
   "testarmada-magellan-local-executor"
]
  1. ./node_modules/.bin/magellan --help to see if you can see the following content printed out
 Executor-specific (testarmada-magellan-local-executor)
  --local_browser=browsername          Run tests in chrome, firefox, etc (default: phantomjs).
  --local_browsers=b1,b2,..            Run multiple browsers in parallel.
  --local_list_browsers                List the available browsers configured.

Congratulations, you're all set.

Example

To run test in local chrome

$ ./node_modules/.bin/magellan --local_browser chrome --test xxx

To run tests in local chrome and firefox

$ ./node_modules/.bin/magellan --local_browsers chrome,firefox --test xxx

License

Documentation in this project is licensed under Creative Commons Attribution 4.0 International License. Full details available at https://creativecommons.org/licenses/by/4.0

Keywords

FAQs

Last updated on 16 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc