ShadowNode icon indicating copy to clipboard operation
ShadowNode copied to clipboard

discussion: support test framework from community

Open yorkie opened this issue 6 years ago • 0 comments

The bare assert library, which node-extapp is using it, looks really non-extensible for business & community usage, and that's such important for codebase stability & maintainability.

After taking some of the Node.js community:

  • substack/node-tape: it tests all in one process, not compatible.
  • tapjs/node-tap: every test file is running on its own process(node or iotjs).

I'm not going to make the test framework are running ShadowNode completely, that requires us to do more and more works on compatibilities from desktop, that would be out of our main road. So we are expecting a framework, that is still running based on Node.js, then it supports to run its cases/specs in own program like node or iotjs.

The tapjs/node-tap are most possible candidate for us now. Then we also have the following TODOs:

  • [ ] Support customized program for running cases/specs: source code
  • [ ] Make ShadowNode's Pipes are completely working with Node.js ones.

Moreover, the following existed frameworks will not be in the short-term targets:

  • node-tape
  • mocha
  • ava

Any thoughts @algebrait @legendecas @LanFly ?

yorkie avatar Jul 10 '18 11:07 yorkie