{"name":"test-runner","author":{"name":"Lloyd Brookes","email":"75pound@gmail.com"},"version":"0.6.0-2","description":"Minimal, extensible test runner.","repository":{"type":"git","url":"git+https://github.com/test-runner-js/core.git"},"license":"MIT","keywords":["test","runner","minimal","simple","easy","tape","tap","ava","mocha"],"main":"./dist/index.js","engines":{"node":">=6"},"scripts":{"test":"npm run test:js && npm run test:mjs","test:js":"rollup -c build/tests.config.js && node dist/tests.js","test:mjs":"node --experimental-modules test/tests.mjs","docs":"jsdoc2md -c build/jsdoc.conf -t README.hbs index.mjs > README.md; echo","dist":"rollup -w -c build/index.config.js","dist:view":"rollup -c build/lib/view-base.config.js","i":"rm -rf node_modules package-lock.json && npm i --legacy-bundling test-object-model && npm i --legacy-bundling fsm-base && npm install"},"dependencies":{"fsm-base":"^0.4.3","test-object-model":"^0.2.3"},"devDependencies":{"jsdoc-to-markdown":"^4.0.1","node-fetch":"^2.3.0","rollup":"^1.0.0"},"standard":{"ignore":["tmp","dist"]},"readme":"[![view on npm](https://img.shields.io/npm/v/test-runner.svg)](https://www.npmjs.org/package/test-runner)\n[![npm module downloads](https://img.shields.io/npm/dt/test-runner.svg)](https://www.npmjs.org/package/test-runner)\n[![Build Status](https://travis-ci.org/75lb/test-runner.svg?branch=master)](https://travis-ci.org/75lb/test-runner)\n[![Dependency Status](https://david-dm.org/75lb/test-runner.svg)](https://david-dm.org/75lb/test-runner)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# test-runner\n\nA minimal test runner built around a single, core principle: if a test function completes successfully (or fulfils), it passes. If it throws (or rejects) it fails. It has no opinion how you write tests, or which (if any) assertion library you use.\n\n```js\nconst TestRunner = require('test-runner')\nconst runner = new TestRunner()\n```\n\n## Synopsis\n\nPassing test, sync.\n\n```js\nrunner.test('this will pass', function () {\n  const result = 'Pass'\n})\n```\n\nPassing test, async.\n\n```js\nrunner.test('this will also pass', function () {\n  return Promise.resolve('Pass')\n})\n```\n\nFailing test, sync.\n\n```js\nrunner.test('this will fail', function () {\n  throw new Error('Fail')\n})\n```\n\nFailing test, async.\n\n```js\nrunner.test('this will also fail', function () {\n  return Promise.reject('Fail')\n})\n```\n\nTo run the tests, execute the script:\n\n```\n$ node test.js\n```\n\n... or use the command-line tool to test multiple files:\n\n```\n$ test-runner test/*.js\n```\n\n<a name=\"module_test-runner\"></a>\n\n## test-runner\n\n* [test-runner](#module_test-runner)\n    * [TestRunner](#exp_module_test-runner--TestRunner) ⏏\n        * [.start()](#module_test-runner--TestRunner+start) ⇒ <code>Promise</code>\n\n<a name=\"exp_module_test-runner--TestRunner\"></a>\n\n### TestRunner ⏏\n**Kind**: Exported class  \n**Emits**: <code>event:start</code>, <code>event:end</code>, <code>event:test-start</code>, <code>event:test-end</code>, <code>event:test-pass</code>, <code>event:test-fail</code>  \n<a name=\"module_test-runner--TestRunner+start\"></a>\n\n#### testRunner.start() ⇒ <code>Promise</code>\nRun all tests in parallel\n\n**Kind**: instance method of [<code>TestRunner</code>](#exp_module_test-runner--TestRunner)  \n\n* * *\n\n&copy; 2016-18 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","readmeFilename":"README.md","gitHead":"a0b102d17c0909b50b8f39c6ce234488192a431f","bugs":{"url":"https://github.com/test-runner-js/core/issues"},"homepage":"https://github.com/test-runner-js/core#readme","_id":"test-runner@0.6.0-2","_npmVersion":"6.5.0","_nodeVersion":"11.6.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-BHGjbgi4o1WcQOZSC7svQogcAw27gzM+oam1+x01cUxoGonP8z3uSa+Lbptp+D1xJoL/PeUq+O+vGUU/2YY0iQ==","shasum":"bd51280423aa564a94938e0104fa7266f9db2525","tarball":"http://registry-npm.ywwl.com/test-runner/download/test-runner-0.6.0-2.tgz","fileCount":10,"unpackedSize":65304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcK3ZqCRA9TVsSAnZWagAA2y0P/13cgMI0RVrnG+xgKEpo\nYlB7D+pZzb9wTkBvASknG+V3ZJkwgjgCG3GaohgxRScqoRcO270MjEhMGmUs\nTsJc4JxhAUwrWZjBkalSEXiL+PDVbZVB5wbaKNC0xwUvUje/C64OP843ykd1\n3KpR44eTYxsOfNX8zkVGHyRSjWcfU5s0cVvZiBngoOP87W0v9T+lbaPJGMSe\nYHCQWxrCxO1FpOy8uQFq5zWxmOYgecf8hpU2+jGf0fmW0TUunLAQJBoA0bpG\nRKRhz8WCJWeHcAau9iOwHHGNtO/d/lYJVIkmS6Es+BldRYJOuvfkSlHb3EDQ\nlESEjVQwV9HzpEJBNx7oUT/EvDrjwkiyVa41YtR756ByKMvQyRwdvMWWCEPO\n1RN34DdHBnsksWcKpMKsr3HLfgA35dxkjnP8M9kYEzsKOV0zbSD46kKb6dw3\nIJhQGgFpVL+v1l/L+WRVkZi6RQ6HSG44UhlAPUO3VhpPEOiR+lxtPWkoTv6G\nT5Q/o5yq2YMiscoDC96pXDsKtR/oOsG4CeMEQyMDvW2nEEoH2FCO8P1OPYvq\nf2rlbBl22E29+1jYJLnDRRYCrhdRzQnvir7zq4rQY0RP8m6y1HXbesS4nPrP\nsG94CgPU4JQ8jEm4+vOYG2eRrY+WL4ShjaDdvIN2oZvs4v861iVi4Y6l6zO/\n9YRM\r\n=/1vI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5kJUVK3oxuajdltcU/29fneV7l5ROy3VEDD2VXXOBYAiEAshg1eiqeKw7rUmM5mF778vLn/g2R4BlhTr0MBuf4S6o="}],"size":11708,"noattachment":false,"key":"/test-runner/-/test-runner-0.6.0-2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test-runner_0.6.0-2_1546352233256_0.8025801394011964"},"_hasShrinkwrap":false,"publish_time":1546352233374,"_cnpm_publish_time":1546352233374,"dist-tags":{"latest":"0.11.1","next":"0.12.0-10"}}