2.1.1 • Published 4 years ago

testarmada-magellan-local-executor v2.1.1

Weekly downloads
2,366
License
MIT
Repository
github
Last release
4 years ago

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"
    ]
  3. ./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

2.1.1

4 years ago

2.1.0

4 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

1.0.0-beta4

7 years ago

1.0.0-beta3

7 years ago

1.0.0-beta2

7 years ago

1.0.0-beta1

7 years ago