#922716 RFP: node-gulp-spawn-mocha -- a plugin for gulp which runs Mocha tests in a separate process from the gulp process.

#922716#5
Date:
2019-02-19 19:26:22 UTC
From:
To:
* Package name    : node-gulp-spawn-mocha
  Version         : 5.0.1
  Upstream Author : Kenneth Powers
* URL             : http://kldvekwm4tgy2es6h245d2dfbqrtioldwbakrvxcy3yptsorf6q6vmyd.onion/dir?ci=tip
* License         : MIT
  Programming Lang: javascript
  Description     : a plugin for gulp which runs Mocha tests in a separate process from the gulp process.

Each time tests are run a new child process is created meaning the test environment always starts cleanly,
i.e., globals are reset as are non-enumerable properties defined on native prototypes via
Object.defineProperty. This also means that if your tests crash the node process (e.g., process.exit(-1).)
then an error event is emitted rather than your whole gulp process crashing (good for watching).

The original gulp-mocha is fine in most circumstances. If you need your tests to run as a separate process
(or a separate process is simply your preference for the reasons specified above) or you need to use a
custom version of Mocha (e.g., a fork with bug fixes or custom functionality) then you should use this
plugin.

node-gulp-spawn-mocha is a dependency of mist ( #827314 )

#922716#16
Date:
2026-02-01 05:37:56 UTC
From:
To:
upstream link died awhile back
https://git.kescher.at/tmg1gnm2/evacuated-gulp-spawn-mocha is the new repo link

jeff cliff