Magellan plugin to provide Mocha support
JavaScript CoffeeScript
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.
lib
test
test_support
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

magellan-mocha-plugin

Build Status License: MIT codecov

A magellan plugin that connects magellan and mocha.

=============BREAKING CHANGE NOTICE===============

  1. v8.0.0 would only be compatible with Magellan v10.0.0 and higher**
  2. Rowdy support is ended in this plugin and removed from v8.0.0. If you are looking for rowdy-mocha solution please refer to magellan-rowdy-mocha-plugin.
  3. magellan-rowdy-mocha-plugin is still under development, please stay tuned. ==================================================

Usage

  1. Add following code to your package.json.

    "testarmada-magellan-mocha-plugin": "^8.0.0"
    
  2. Add following code to your magellan.json (optional)

    "framework": "testarmada-magellan-mocha-plugin"
    

What does it do

This plugin connects magellan and mocha by

1. passing down magellan test filters (by tags, groups and/or tests) to mocha for test case selection.
2. passing down node env/configurations for child process spawn purpose.

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