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
- It works as a Magellan strategy to help Magellan make decision when to do what
- It tells Magellan to terminate current test suite as long as one test has failed
How To Use
Please follow the following steps:
npm install testarmada-magellan-fast-bail-strategy --save
- 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"
- 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