{"_id":"zora-tap-reporter","_rev":"5-c14043151b002709724293e00331cfa5","name":"zora-tap-reporter","description":"TAP reporters for zora testing library","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"zora-tap-reporter","version":"1.0.0","description":"tap reporter for zora","main":"./dist/zora-tap-reporter.js","module":"./dist/zora-tap-reporter.mjs","jsnext:main":"./src/tap.js","directories":{"test":"test"},"scripts":{"build":"rollup -c ./rollup/build.js","test":"rollup -c ./rollup/test.js | node"},"repository":{"type":"git","url":"git+https://github.com/lorenzofox3/zora-tap-reporter.git"},"keywords":["zora","tat","test","testing","reporter","browser","nodejs"],"author":{"name":"Laurent Renard"},"license":"MIT","bugs":{"url":"https://github.com/lorenzofox3/zora-tap-reporter/issues"},"homepage":"https://github.com/lorenzofox3/zora-tap-reporter#readme","devDependencies":{"rollup":"^0.54.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.2","tap-parser":"^7.0.0","tape-run":"^3.0.1","xo":"^0.18.2","zora":"^1.1.4"},"gitHead":"89b972231fc7cca8e0f57c12ac3f19cd5d637a5b","_id":"zora-tap-reporter@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.8.1","_npmUser":{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"},"dist":{"integrity":"sha512-VdcHKZtdFPPPyRDNYHcNm95udhlblJcY2tE3U5Vzt1g+27fhc/Uhp8ySw1Ivvo5oTaxjqtelIbYhI8nC2afMYA==","shasum":"b993483ffb2a9f14f04bd8ff876450bf4da931d2","tarball":"https://registry.npmjs.org/zora-tap-reporter/-/zora-tap-reporter-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoK7Q46T0Hv8F5GREDEO/XzyEgtD+V2rxtyL8bM3eGlAIhALphj6MaWNGmkIDkz0J+ifyGFwkVcvAF5Uut+Egyfq5O"}]},"maintainers":[{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zora-tap-reporter-1.0.0.tgz_1516310780790_0.5217213795986027"},"deprecated":"In V2 of zora the reporter is built in"},"1.0.1":{"name":"zora-tap-reporter","version":"1.0.1","description":"tap reporter for zora","main":"./dist/zora-tap-reporter.js","module":"./dist/zora-tap-reporter.mjs","jsnext:main":"./src/tap.js","directories":{"test":"test"},"scripts":{"build":"rollup -c ./rollup/build.js","test":"rollup -c ./rollup/test.js | node"},"repository":{"type":"git","url":"git+https://github.com/lorenzofox3/zora-tap-reporter.git"},"keywords":["zora","tat","test","testing","reporter","browser","nodejs"],"author":{"name":"Laurent Renard"},"license":"MIT","bugs":{"url":"https://github.com/lorenzofox3/zora-tap-reporter/issues"},"homepage":"https://github.com/lorenzofox3/zora-tap-reporter#readme","devDependencies":{"rollup":"^0.54.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.2","tap-parser":"^7.0.0","tape-run":"^3.0.1","xo":"^0.18.2","zora":"^1.1.4"},"gitHead":"066a4b063bc5ec40620ca2b3c28c03c895f631fc","_id":"zora-tap-reporter@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.8.1","_npmUser":{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"},"dist":{"integrity":"sha512-fJFaE6WVLxNgpWGJEFQ/bxN6PQEGMhKi52cDNg2Bdhy5W4AnbecQEt6arepQ5VpJP5nvLJWjhHjzev9ZmpMODw==","shasum":"0504b9b188fb79fba8c711de384e025980a60951","tarball":"https://registry.npmjs.org/zora-tap-reporter/-/zora-tap-reporter-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ6cM6mhb+oEx94+ZufchxSJrUOFvOoVt2cw4OYW5M/AIhAKgTGj0JDtww71RG/sDOw3in+ys2f8D4ahvolKjtixk5"}]},"maintainers":[{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zora-tap-reporter-1.0.1.tgz_1516311512810_0.32898012013174593"},"deprecated":"In V2 of zora the reporter is built in"},"1.0.2":{"name":"zora-tap-reporter","version":"1.0.2","description":"tap reporter for zora","main":"./dist/","module":"./dist/index.mjs","jsnext:main":"./src/tap.js","directories":{"test":"test"},"scripts":{"build":"rollup -c ./rollup/build.js","test":"rollup -c ./rollup/test.js | node | tap-diff"},"repository":{"type":"git","url":"git+https://github.com/lorenzofox3/zora-tap-reporter.git"},"keywords":["zora","tat","test","testing","reporter","browser","nodejs"],"author":{"name":"Laurent Renard"},"license":"MIT","bugs":{"url":"https://github.com/lorenzofox3/zora-tap-reporter/issues"},"homepage":"https://github.com/lorenzofox3/zora-tap-reporter#readme","devDependencies":{"rollup":"^0.54.1","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-node-resolve":"^3.0.2","tap-diff":"^0.1.1","tap-parser":"^7.0.0","xo":"^0.18.2","zora":"^1.1.4"},"gitHead":"b22d334444a20827a63b46e9cf603f2533d05474","_id":"zora-tap-reporter@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.8.1","_npmUser":{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"},"dist":{"integrity":"sha512-zOKLj2DMm4RTJnQ19QXncfCaNb8e8IOUlSoGMSARfR8f5qJJvMvnF6CQVioXUzTKQBZWJsd0wXexCBRt2Vcekw==","shasum":"94f59f8fb04bdcd228826a32f7c37ae28e441e61","tarball":"https://registry.npmjs.org/zora-tap-reporter/-/zora-tap-reporter-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKOM5llE8EBMg9kuw5PtI5cngKF+LWnrKDMeIaB018QAIgb2yw2AFRcDpozI04dhY1gIGN0MPwZLUbOo/Ipkmyp5U="}]},"maintainers":[{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zora-tap-reporter-1.0.2.tgz_1516635626595_0.19740190915763378"},"deprecated":"In V2 of zora the reporter is built in"},"2.0.0":{"name":"zora-tap-reporter","version":"2.0.0","description":"TAP reporters for zora testing library","main":"dist/index","module":"dist/module.js","types":"dist/declarations/index.d.ts","directories":{"test":"test"},"scripts":{"build:compile":"../node_modules/.bin/tsc","build:bundle":"../node_modules/.bin/rollup -c rollup.js","build":"npm run build:compile && npm run build:bundle"},"keywords":["zora","tap","reporter","test","testing","bdd","unit","tool","productivity","browser","nodejs"],"author":{"name":"Laurent RENARD"},"license":"MIT","_id":"zora-tap-reporter@2.0.0","_nodeVersion":"12.13.1","_npmVersion":"6.13.3","dist":{"integrity":"sha512-Gdj03EdaH3b8JimaaAwBlqrtknj/z7WcBLaQO1rWdf5PIZAeR33EKPllIOZAiUXVukmJdPkIT16VsPYLXE76OA==","shasum":"eeba3fea0bcb2fea2a6afe6cb04fa0fcb3095f63","tarball":"https://registry.npmjs.org/zora-tap-reporter/-/zora-tap-reporter-2.0.0.tgz","fileCount":10,"unpackedSize":26102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd79LzCRA9TVsSAnZWagAAc3QP/jwttAA88XDjV6/I6Wyu\n0AWvxavXOg72dGVc+qlhnbRlcJFUt2y99F6in8aoPw0f7QOrThx06ma+GaR/\natHT1/8W0+gm3sHM9OCCFiKP21NcTanJl5XkC7XuarjqwohBWeb/bI8OnD+s\nfDOOnD/XALHMuAYFd8M75rHdk4SnerDniosJowTSlFM5mz4cJPA07w6pcUln\nSldK5Y7QPWSWL4abO1hC2nj4Q0R5uhgTNpUjfTihH3lvmtixTxirtZaTEiWW\nX/7HMXp3VCw0TRs+F6VEtHxZaw1W3J/UKzfAsfgpdTZaiFLGDaAk35JHT/ST\nZSgVKViPC2jsFvAoB4IDb6LJYVBLhLWsx2OOktUkCvrCj103yO4lqnnbMbfA\nwUckS4ZXzeQKgUagsilFnCueTt18gbPaC8fu/c4gJvPaSPlBRPHlqcdsH36h\nZ5iiVzaifpEUl3xXS+RAeDTuLEGsBggyrOfI9QjnZaZTeJ1+WXfT2nPsv/tX\nhwHI3kG6YvpRTViqm54YhHsi47kUhI2uCUAdfHOlg/6h7K3tR3waeZX8krOq\nMsA4t4FAoTEOVaKqigyyiX5mODRpPBp2tD3Z6rfSTGbB+1niW3bSwlDck8Ek\nOsjqQ0V1FRc/7NPWNE8et7G9061icf920TyX27k5qUUFezvDlZF2FOBq+WAl\nniD/\r\n=esQM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPsXyLZOyHXm+/mxAbci0ZJUprRhZFdJiCvEkwQqsGKwIhAMmopNwyG46MqCGMguJCK6E5re66zgXYaVffABO6Gimz"}]},"maintainers":[{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"}],"_npmUser":{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/zora-tap-reporter_2.0.0_1575998194544_0.9466132869749224"},"_hasShrinkwrap":false}},"readme":"# zora-tap-reporter\n\n[Test Anything Protocol](https://testanything.org/) reporters for [zora](https://github.com/lorenzofox3/zora).\n\nTwo flavors of TAP protocol which work both on the browser and on Nodejs\n\n## Install\n\n``npm install zora-tap-reporter``\n\n## TAP reporter\n\nBasic TAP reporter which outputs a TAP stream compatible with any [tape](https://github.com/substack/tape) reporter\n\n```javascript\nimport {createHarness} from 'zora';\nimport {tapReporter} from 'zora-tap-reporter';\n\nconst h = createHarness();\n\nconst {test} = h;\n\ntest(`hello world`, t => {\n    t.ok(true);\n\n    t.test('nested', t => {\n        t.eq('foo', 'fob');\n    });\n});\n\ntest(`hello world`, t => {\n    t.ok(true);\n\n    t.test('nested', t => {\n        t.eq('foo', 'fob');\n    });\n});\n\nh.report(tapReporter());\n```\n\nwill output \n\n```TAP\nTAP version 13\n# hello world\nok 1 - should be truthy\n# nested\nnot ok 2 - should be equivalent\n  ---\n    actual: \"foo\"\n    expected: \"fob\"\n    operator: \"equal\"\n    at: \" file:///Volumes/data/code/zora-reporters/tap/example.mjs:12:11\"\n  ...\n# hello world\nok 3 - should be truthy\n# nested\nnot ok 4 - should be equivalent\n  ---\n    actual: \"foo\"\n    expected: \"fob\"\n    operator: \"equal\"\n    at: \" file:///Volumes/data/code/zora-reporters/tap/example.mjs:20:11\"\n  ...\n1..4\n\n# not ok\n# success: 2\n# skipped: 0\n# failure: 2\n```\n\n## Indented TAP reporter\n\nRicher structure which can be parsed by any TAP parser and will provide better information for parsers (or downstream reporters) which understand this specific structure. Example: [tap-mocha-reporter](https://www.npmjs.com/package/tap-mocha-reporter)\n\n```javascript\nimport {createHarness} from 'zora';\nimport {indentedTapReporter} from 'zora-tap-reporter';\n\nconst h = createHarness();\n\nconst {test} = h;\n\ntest(`hello world`, t => {\n    t.ok(true);\n\n    t.test('nested', t => {\n        t.eq('foo', 'fob');\n    });\n});\n\ntest(`hello world`, t => {\n    t.ok(true);\n\n    t.test('nested', t => {\n        t.eq('foo', 'fob');\n    });\n});\n\nh.report(indentedTapReporter());\n```\n\nwill output\n\n```TAP\nTAP version 13\n# Subtest: hello world\n    ok 1 - should be truthy\n    # Subtest: nested\n        not ok 1 - should be equivalent\n          ---\n            wanted: \"fob\"\n            found: \"foo\"\n            at: \" file:///Volumes/data/code/zora-reporters/tap/example.mjs:12:11\"\n            operator: \"equal\"\n          ...\n        1..1\n    not ok 2 - nested # 5ms\n    1..2\nnot ok 1 - hello world # 7ms\n# Subtest: hello world\n    ok 1 - should be truthy\n    # Subtest: nested\n        not ok 1 - should be equivalent\n          ---\n            wanted: \"fob\"\n            found: \"foo\"\n            at: \" file:///Volumes/data/code/zora-reporters/tap/example.mjs:20:11\"\n            operator: \"equal\"\n          ...\n        1..1\n    not ok 2 - nested # 3ms\n    1..2\nnot ok 2 - hello world # 3ms\n1..2\n\n# not ok\n# success: 2\n# skipped: 0\n# failure: 2\n```\n","maintainers":[{"name":"lorenzofox3","email":"laurent34azerty@gmail.com"}],"time":{"modified":"2022-05-25T16:07:07.717Z","created":"2018-01-18T21:26:21.741Z","1.0.0":"2018-01-18T21:26:21.741Z","1.0.1":"2018-01-18T21:38:33.679Z","1.0.2":"2018-01-22T15:40:27.794Z","2.0.0":"2019-12-10T17:16:34.736Z"},"keywords":["zora","tap","reporter","test","testing","bdd","unit","tool","productivity","browser","nodejs"],"author":{"name":"Laurent RENARD"},"license":"MIT","readmeFilename":"readme.md"}