Comparing version 0.0.0 to 0.0.1
{ | ||
"name": "argg", | ||
"version": "0.0.0", | ||
"description": "Three lines of code to `require` all the files provided as command line arguments. A poor man's test runner that works with istanbul.", | ||
"version": "0.0.1", | ||
"description": "A poor man's test runner for tap, tape, or similar, that also can be used with istanbul. It's just three lines of code to require all globs or pathnames provided as command line arguments.", | ||
"scripts": { | ||
@@ -13,4 +13,5 @@ "test": "echo nope && exit 1", | ||
}, | ||
"keywords": ["tap", "tape", "istanbul"], | ||
"author": "Isao Yagi <isao@yahoo-inc.com>", | ||
"license": "MIT" | ||
} |
argg | ||
==== | ||
A poor man's test runner for [tap](https://github.com/isaacs/node-tap), [tape](https://github.com/substack/tape), or similar, that also can be used with [istanbul](https://github.com/gotwarlost/istanbul). It's just three lines of code to `require` all globs or pathnames provided as command line arguments. | ||
A poor man's test runner for [tap](https://github.com/isaacs/node-tap), [tape](https://github.com/substack/tape), or similar, that also can be used with [istanbul](https://github.com/gotwarlost/istanbul). It's just three lines of code to `require` pathnames from the command line. Shell globbing test runner, if you will, which you can do when your tests are simple scripts. | ||
@@ -9,3 +9,3 @@ usage | ||
npm i argg --save-dev | ||
npm i argg --save-dev | ||
@@ -19,3 +19,3 @@ …then in your package.json add: | ||
…so from the command line, you do: | ||
…so from the command line, you can run tests and get code coverage with istanbul like: | ||
@@ -25,3 +25,5 @@ npm test | ||
Sure, it barely deserves to be a module, but I got tired of copy/paste. Yes, tap has a [nice test runner](https://github.com/isaacs/node-tap/blob/master/lib/tap-runner.js) but I'd still need something [like this](https://github.com/substack/tape/pull/19) for tape and/or istanbul. | ||
why | ||
--- | ||
Hey ok, tap has a [nice test runner](https://github.com/isaacs/node-tap/blob/master/lib/tap-runner.js), but I would need something [like](https://github.com/substack/tape/pull/19) this for tape by itself, or for either tap or tape with istanbul. I could make a file and explicitly require the files, but that takes typing, and I know I'd miss something. | ||
@@ -28,0 +30,0 @@ license |
3427
30