strategy that bails magellan run as long as one test fails
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.eslintrc
.gitignore
LICENSE
README.md
index.js
package.json

README.md

Important Notes About Versions

Important: testarmada-magellan-fast-bail-strategy is only supported by Magellan version 10.1.0 or higher.

What does this executor do

  1. It works as a Magellan strategy to help Magellan make decision when to do what
  2. It tells Magellan to terminate current test suite as long as one test has failed

How To Use

Please follow the following steps:

  1. npm install testarmada-magellan-fast-bail-strategy --save
  2. Add following line to your magellan.json (if there isn't a magellan.json please create one under your folder root):
"strategy_bail": "testarmada-magellan-fast-bail-strategy"
  1. Or, instead of adding above line in magellan.json, add following argument in your command line
--strategy_bail testarmada-magellan-fast-bail-strategy

Example

To enable this strategy with default threshold

$ ./node_modules/.bin/magellan --strategy_bail testarmada-magellan-fast-bail-strategy --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