Skip to content

Automattic/magellan-mocha-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Magellan plugin to provide Mocha support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • CoffeeScript 0.3%