POC: tape + power-assert = ???
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
[tape](https://github.com/substack/tape) is self-excutable test library.
We want to mix tape assert and [power-assert](https://github.com/power-assert-js/power-assert).
## Recipe
- set [power-assert-js/espower](https://github.com/power-assert-js/espower)'s [options.patterns](https://github.com/power-assert-js/espower) that match tape asset.
- How to set this config to [various](https://github.com/power-assert-js/espowerify) [power-assert modules](https://github.com/power-assert-js/espower-babel) at one time?
- extends `tape.Test.prototype` https://github.com/azu/tape-power-assert/blob/5390499b04e6adffb39148d51dceb3a628a27651/test.js#L5-L6
- apply [power-assert-formatter](https://github.com/power-assert-js/power-assert-formatter) to tape output.
- How to convert output object to TAP?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the extension of tape.Test.prototype in test.js at the referenced commit, then review the espower options.patterns and the power-assert-formatter integration described in the recipe. Determine how the power-assert modules should be configured together and how the formatter's output can become TAP; done means the POC produces useful power-assert diagnostics through tape's TAP output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100