{"_id":"mocha-unfunk-reporter","_rev":"76-bf3ba1a4aacd0864c242ed83d42e2e63","name":"mocha-unfunk-reporter","description":"Mocha reporter without console funkyness","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.1":{"name":"mocha-unfunk-reporter","version":"0.1.1","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"grit://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","expect.js":"~0.2.0","chai":"~1.6.0","grunt-mocha-test":"~0.2.2","grunt-cafe-mocha":"~0.1.3","grunt-simple-mocha":"~0.4.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal spec-style console reporter that doesn't confuse lesser enviroments with funky display tricks, line overwrites, escapes or weird encodings. Main use-case is running `mocha`'s node module as external tool in IDE's like WebStorm or other basic consoles, but should work in all cli/console mocha flavours if you manage to pass it to mocha as `--reporter`. It should easily be adapted to alternate unfunky displays.\r\n\r\nThe reporter does *not* extend `mocha`'s default Base reporter prototype, because that is main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display, although there is a functional ANSI styler. But since we can't use the Base reporter there's currently no clean way to enable this using `color/no-color`. If you *must* have some color in your reporting you can re-enable it in unfunk.ts and recompile.\r\n\r\n## Todo\r\n\r\n* There's a *major* bug in most `grunt` `mocha` plugin regarding async errors, which prevents the combination to be as successfull as it should. This is reflected in the crazy devDependencies.\r\n\r\n* I'm open for suggestions how to pass options and enable color properly, especially if it works with mocha's `color/no-color` flags.\r\n\r\n* Since it is low on dependencies and only writing forward (no carriage returns or weird offset operators) it should also be possible to make a browser (console) version, even something that streams to a unfunky remote display.\r\n\r\n* I would like to add diff support but that will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for comamnd line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Versions\r\n\r\n0.1.1 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Example output\r\n\r\nMay or may not be up-2-date with actual output.\r\n\r\n```\r\n  kitteh\r\n    can\r\n      meow.. pass\r\n      has\r\n        milk.. pass\r\n        cheeseburgers.. pass\r\n        some\r\n          yarn.. pass\r\n          hats.. fail\r\n        no\r\n          dogs.. fail\r\n\r\n  mocha grunt task\r\n    should register a multi task.. pass\r\n    should run asynchronously.. pass\r\n    should clear the require cache before sending tests to mocha so that it can be run from a watch task.. pass\r\n    should load mocha options from mochaTestConfig.. pass\r\n    should use named config where available.. pass\r\n    should expand and add the file list to files in Mocha.. pass\r\n    should catch and log exceptions thrown by Mocha to the console before failing the task so that it can be run from a watch task.. pass\r\n    should fail if any tests fail.. pass\r\n    should succeed if no tests fail.. pass\r\n    should add a single file added to the require option.. pass\r\n    should expose global variables from the file added with the require option.. fail\r\n    invert option\r\n      should not call the invert chainable function by default.. pass\r\n      should pass through the invert option to the invert chainable function.. pass\r\n    ignoreLeaks option\r\n      should not call the ignoreLeaks chainable function by default.. pass\r\n      should pass through the ignoreLeaks option to the ignoreLeaks chainable function.. pass\r\n    growl option\r\n      should not call the growl chainable function by default.. pass\r\n      should pass through the growl option to the growl chainable function.. pass\r\n    globals option\r\n      should not call the globals chainable function by default.. pass\r\n      should pass through the globals option to the globals chainable function.. pass\r\n    with grunt 0.4.x\r\n      should expand and add the file list to files in Mocha.. pass\r\n\r\nexecuted 28 tests with 3 failures and 1 pending (85ms)\r\n\r\n1: kitteh can has some hats\r\n      expected 'hat' to equal 'silly'\r\n\r\n2: kitteh can has no dogs\r\n      expected 'dogs' to equal 'not here'\r\n\r\n3: mocha grunt task should expose global variables from the file added with the require option\r\n      ReferenceError: testVar is not defined\r\n        at Context.<anonymous> (D:\\_Editing\\github\\mocha\\test\\mocha.test.js:188:14)\r\n        at Test.Runnable.run (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runnable.js:213:32)\r\n        at Runner.runTest (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:351:10)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:397:12\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:277:14)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:286:7\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:234:23)\r\n        at Object._onImmediate (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:254:5)\r\n        at processImmediate [as _immediateCallback] (timers.js:309:15)\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.1","dist":{"shasum":"1af298663a39e3f6e9c8642c845f5061bdd6c546","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.1.tgz","integrity":"sha512-3rF/TPDfurO4jUuqhn49IgiIaFC7fPDMOvqKKFgVBIQRm3gZklr6Li+lnqwYxObFrcDAACYULziN8eV7OFeCxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7jNvzcaJDYlH+Jyt65vUt5zwygmMorfZRhera1fCfFgIhAJ46qDfOOm7SIy+IL+ur7m+DnZ9k1aBfXRQjAWPbV0jd"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.2":{"name":"mocha-unfunk-reporter","version":"0.1.2","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"grit://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","expect.js":"~0.2.0","chai":"~1.6.0","grunt-mocha-test":"~0.2.2","grunt-cafe-mocha":"~0.1.3","grunt-simple-mocha":"~0.4.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal spec-style console reporter that doesn't confuse lesser enviroments with funky display tricks, line overwrites, escapes or weird encodings. Main use-case is running `mocha`'s node module as external tool in IDE's like WebStorm or other basic consoles, but should work in all cli/console mocha flavours if you manage to pass it to mocha as `--reporter`. It should easily be adapted to alternate unfunky displays.\r\n\r\nThe reporter does *not* extend `mocha`'s default Base reporter prototype, because that is main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display, although there is a functional ANSI styler. But since we can't use the Base reporter there's currently no clean way to enable this using `color/no-color`. If you *must* have some color in your reporting you can re-enable it in unfunk.ts and recompile.\r\n\r\n## Todo\r\n\r\n* There's a *major* bug in most `grunt` `mocha` plugin regarding async errors, which prevents the combination to be as successfull as it should. This is reflected in the crazy devDependencies.\r\n\r\n* I'm open for suggestions how to pass options and enable color properly, especially if it works with mocha's `color/no-color` flags.\r\n\r\n* Since it is low on dependencies and only writing forward (no carriage returns or weird offset operators) it should also be possible to make a browser (console) version, even something that streams to a unfunky remote display.\r\n\r\n* I would like to add diff support but that will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for comamnd line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Versions\r\n\r\n0.1.2 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Example output\r\n\r\nMay or may not be up-2-date with actual output.\r\n\r\n````\r\n  kitteh\r\n    can\r\n      meow.. pass\r\n      has\r\n        milk.. pass\r\n        cheeseburgers.. pass\r\n        some\r\n          yarn.. pass\r\n          hats.. fail\r\n        no\r\n          dogs.. fail\r\n\r\n  mocha grunt task\r\n    should register a multi task.. pass\r\n    should run asynchronously.. pass\r\n    should clear the require cache before sending tests to mocha so that it can be run from a watch task.. pass\r\n    should load mocha options from mochaTestConfig.. pass\r\n    should use named config where available.. pass\r\n    should expand and add the file list to files in Mocha.. pass\r\n    should catch and log exceptions thrown by Mocha to the console before failing the task so that it can be run from a watch task.. pass\r\n    should fail if any tests fail.. pass\r\n    should succeed if no tests fail.. pass\r\n    should add a single file added to the require option.. pass\r\n    should expose global variables from the file added with the require option.. fail\r\n    invert option\r\n      should not call the invert chainable function by default.. pass\r\n      should pass through the invert option to the invert chainable function.. pass\r\n    ignoreLeaks option\r\n      should not call the ignoreLeaks chainable function by default.. pass\r\n      should pass through the ignoreLeaks option to the ignoreLeaks chainable function.. pass\r\n    growl option\r\n      should not call the growl chainable function by default.. pass\r\n      should pass through the growl option to the growl chainable function.. pass\r\n    globals option\r\n      should not call the globals chainable function by default.. pass\r\n      should pass through the globals option to the globals chainable function.. pass\r\n    with grunt 0.4.x\r\n      should expand and add the file list to files in Mocha.. pass\r\n\r\nexecuted 28 tests with 3 failures and 1 pending (85ms)\r\n\r\n1: kitteh can has some hats\r\n      expected 'hat' to equal 'silly'\r\n\r\n2: kitteh can has no dogs\r\n      expected 'dogs' to equal 'not here'\r\n\r\n3: mocha grunt task should expose global variables from the file added with the require option\r\n      ReferenceError: testVar is not defined\r\n        at Context.<anonymous> (D:\\_Editing\\github\\mocha\\test\\mocha.test.js:188:14)\r\n        at Test.Runnable.run (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runnable.js:213:32)\r\n        at Runner.runTest (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:351:10)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:397:12\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:277:14)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:286:7\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:234:23)\r\n        at Object._onImmediate (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:254:5)\r\n        at processImmediate [as _immediateCallback] (timers.js:309:15)\r\n````","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.2","dist":{"shasum":"8af71897ee3031ed20b0615fd02c7f2e8ff926c1","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.2.tgz","integrity":"sha512-w1oqT3GLjkNipO0cCUsIYPmTxsMFz0W80rVqt2D6gz01IZ4gwWX0O99Ay/L/ojX/AYUH3o1+vWzcGTYKQ1lhvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCj+iadh6HGmaHqOIE2qavF7XwF42QniPu5/KUQjZLQMQIgRnX2LCr6Z2mR0iWlm0kG2mKCSilSesguF7l3zkEoSMk="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.3":{"name":"mocha-unfunk-reporter","version":"0.1.3","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"grit://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","chai":"~1.6.0","grunt-mocha-spawn":"~0.1.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal spec-style console reporter that doesn't confuse lesser enviroments with funky display tricks, line overwrites, escapes or weird encodings. Main use-case is running `mocha`'s node module as external tool in IDE's like WebStorm or other basic consoles, but should work in all cli/console mocha flavours if you manage to pass it to mocha as `--reporter`. It should easily be adapted to alternate unfunky displays.\r\n\r\nThe reporter does *not* extend `mocha`'s default Base reporter prototype, because that is main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display, although there is a functional ANSI styler. But since we can't use the Base reporter there's currently no clean way to enable this using `color/no-color`. If you *must* have some color in your reporting you can re-enable it in `unfunk.ts` and recompile.\r\n\r\n## Todo\r\n\r\n* There's a *major* bug in most `grunt` `mocha` plugin regarding async errors, which prevents the combination to be as successfull as it should.\r\n\r\n* I'm open for suggestions how to pass options and enable color properly, especially if it works with mocha's `color/no-color` flags.\r\n\r\n* Since it is low on dependencies and only writing forward (no carriage returns or weird offset operators) it should also be possible to make a browser (console) version, even something that streams to a unfunky remote display.\r\n\r\n* I would like to add diff support but that will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for command line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Versions\r\n\r\n0.1.3 - cleaned test and dev dependencies\r\n0.1.2 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Example output\r\n\r\nMay or may not be up-2-date with actual output.\r\n\r\n````\r\n  kitteh\r\n    can\r\n      meow.. pass\r\n      has\r\n        milk.. pass\r\n        cheeseburgers.. pass\r\n        some\r\n          yarn.. pass\r\n          hats.. fail\r\n        no\r\n          dogs.. fail\r\n\r\n  mocha grunt task\r\n    should register a multi task.. pass\r\n    should run asynchronously.. pass\r\n    should clear the require cache before sending tests to mocha so that it can be run from a watch task.. pass\r\n    should load mocha options from mochaTestConfig.. pass\r\n    should use named config where available.. pass\r\n    should expand and add the file list to files in Mocha.. pass\r\n    should catch and log exceptions thrown by Mocha to the console before failing the task so that it can be run from a watch task.. pass\r\n    should fail if any tests fail.. pass\r\n    should succeed if no tests fail.. pass\r\n    should add a single file added to the require option.. pass\r\n    should expose global variables from the file added with the require option.. fail\r\n    invert option\r\n      should not call the invert chainable function by default.. pass\r\n      should pass through the invert option to the invert chainable function.. pass\r\n    ignoreLeaks option\r\n      should not call the ignoreLeaks chainable function by default.. pass\r\n      should pass through the ignoreLeaks option to the ignoreLeaks chainable function.. pass\r\n    growl option\r\n      should not call the growl chainable function by default.. pass\r\n      should pass through the growl option to the growl chainable function.. pass\r\n    globals option\r\n      should not call the globals chainable function by default.. pass\r\n      should pass through the globals option to the globals chainable function.. pass\r\n    with grunt 0.4.x\r\n      should expand and add the file list to files in Mocha.. pass\r\n\r\nexecuted 28 tests with 3 failures and 1 pending (85ms)\r\n\r\n1: kitteh can has some hats\r\n      expected 'hat' to equal 'silly'\r\n\r\n2: kitteh can has no dogs\r\n      expected 'dogs' to equal 'not here'\r\n\r\n3: mocha grunt task should expose global variables from the file added with the require option\r\n      ReferenceError: testVar is not defined\r\n        at Context.<anonymous> (D:\\_Editing\\github\\mocha\\test\\mocha.test.js:188:14)\r\n        at Test.Runnable.run (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runnable.js:213:32)\r\n        at Runner.runTest (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:351:10)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:397:12\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:277:14)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:286:7\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:234:23)\r\n        at Object._onImmediate (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:254:5)\r\n        at processImmediate [as _immediateCallback] (timers.js:309:15)\r\n````","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.3","dist":{"shasum":"6d297af1817d28fb703178b7834f950352dee7c0","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.3.tgz","integrity":"sha512-GFgia4pOR4AFqtRyprN8TF9QioNUzuGdtROdHEUqQ/VMFCpYDfocvMkytvrebkkMfGyZo+dRT/ajP04jEt3nBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG28A6vKt8Y0+eMOcuF7Vvi33xUMac4Wr4xRw68PqPqnAiEA49IeWX0mHtJYc10078lAdBhCNZcpGIndRcpXKpZk8DE="}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.4":{"name":"mocha-unfunk-reporter","version":"0.1.4","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"grit://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","expect.js":"~0.2.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal `spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display tricks, line overwrites, cursor tricks, escape codes or weird encodings. \r\n\r\nMain use-case is running mocha's node module embedded in external tools though IDE's like WebStorm or other basic consoles and low-tech buffered output. It works in all mocha node.js module flavours if you pass it to mocha as `reporter`. It could easily be adapted to alternate unfunky displays.\r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display but there is a option to enable ANSI colors. It's a global option since we don't extend mocha's Base reporter so can't get the useColor parameter (and it's not even exposed to Mocha's module options anyway).\r\n\r\n## Notes\r\n\r\n* There's a *major* bug in most `grunt` + `mocha` plugins regarding async errors, which prevents the combination to be as successful as it should. Temporary use wrapper like my `child_process.fork()` based [grunt-mocha-spawn](https://github.com/Bartvds/grunt-mocha-spawn) until somebody fixes it properly.\r\n\r\n* I would like to add diff support but that will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for command line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\nPass extra options using process.env (until I find a better way)\r\n\r\n````\r\n//enable colors using ANSI codes (nothing against some optional functional funk :)\r\nprocess.env['mocha-unfunk-color'] = true;\r\n````\r\n\r\n## Versions\r\n\r\n0.1.4 - expose color option using process.env\r\n0.1.3 - cleaned test and dev dependencies\r\n0.1.2 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Color codes taken from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.4","dist":{"shasum":"8eae88ad7dd6ff296fc18a39caeb9c586615d872","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.4.tgz","integrity":"sha512-nRf5tF1/DzSd6RT0kljD3fEgVGlpNiYH1r5xAQ4rzJqcrm+T07XCu6n57oxura0xIhj+H5gMHB1v37I0sKx/xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDC1MgjzclFuWMYNolai3X5+hrkcm/MmFjPARJ6bwHrPAIhANQgrHTwLf9c5t/jnCUcd5lrfVH2/6CsX/ZW5dtRR+qc"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.5":{"name":"mocha-unfunk-reporter","version":"0.1.5","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"grit://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","chai":"~1.6.0","underscore":"~1.4.4","chai-fuzzy":"git://github.com/Bartvds/chai-fuzzy.git"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal `spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, line overwrites, cursor tricks, escape codes or weird encodings.\r\n\r\nMain use-case is running mocha's node module embedded in external tools though IDE's like WebStorm, basic consoles and buffered output. It could easily be adapted to alternate unfunky displays. Tested in `grunt-mocha-test` (and similar) but works in all mocha node.js module flavors if you pass it to mocha as `reporter`.\r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display but there is a option to enable ANSI colors. It's a global option since we don't extend mocha's Base reporter so can't get the useColor parameter (and it's not even exposed to Mocha's module options anyway).\r\n\r\n## Notes\r\n\r\n* There's a object compare diff output (tested with chai equal/deepEqual/jsonOf etc)\r\n* I would like to add string diff support but it will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for command line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\nPass extra options using process.env (until I find a better way)\r\n\r\n````\r\n//enable colors using ANSI codes (nothing against some optional functional funk :)\r\nprocess.env['mocha-unfunk-color'] = true;\r\n````\r\n\r\n## Versions\r\n\r\n* 0.1.5 - basic object diff\r\n* 0.1.4 - expose color option using process.env\r\n* 0.1.3 - cleaned test and dev dependencies\r\n* 0.1.2 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff]https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.5","dist":{"shasum":"1b2bd1ea2bf8ac0b03a6e55e7f526fb986219b1d","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.5.tgz","integrity":"sha512-Si723hRcwgFvy2/vnbEs2JRgHhRmso+mso8z6id6LuD2RIXL6ri8sukSBS/b9k1LnOvNwA6dtE5jNyPYpIzn3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7LtXH9Vp3jE2uBlN35XVPiEXrGL+nLg4csTCSZpFTqwIhAO39avJ7OUchy1nqJHPkhq2i73+EodQqU3g/Jzw7dys+"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.6":{"name":"mocha-unfunk-reporter","version":"0.1.6","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"grit://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","chai":"~1.6.0","underscore":"~1.4.4","chai-fuzzy":"1.3.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal `spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, line overwrites, cursor tricks, escape codes or weird encodings.\r\n\r\nMain use-case is running mocha's node module embedded in external tools though IDE's like WebStorm, basic consoles and buffered output. It could easily be adapted to alternate unfunky displays. Tested in `grunt-mocha-test` (and similar) but works in all mocha node.js module flavors if you pass it to mocha as `reporter`.\r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display but there is a option to enable ANSI colors. It's a global option since we don't extend mocha's Base reporter so can't get the useColor parameter (and it's not even exposed to Mocha's module options anyway).\r\n\r\n## Notes\r\n\r\n* There's a object compare diff output (tested with chai equal/deepEqual/jsonOf etc)\r\n* I would like to add string diff support but it will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for command line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\nPass extra options using process.env (until I find a better way)\r\n\r\n````\r\n//enable colors using ANSI codes (nothing against some optional functional funk :)\r\nprocess.env['mocha-unfunk-color'] = true;\r\n````\r\n\r\n## Versions\r\n\r\n* 0.1.6 - tight .npmignore\r\n* 0.1.5 - basic object diff\r\n* 0.1.4 - expose color option using process.env\r\n* 0.1.3 - cleaned test and dev dependencies\r\n* 0.1.2 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff]https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.6","dist":{"shasum":"6350404314819fbbe7c27b0b32e172ade6e5271d","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.6.tgz","integrity":"sha512-JD2tFAqB9SqM43T8D6I8VOxVfTpyKiKE9QXSYVH2NqemfMpX7fwcO/KAq27UqEUuu+cq3xF9jlr9cRm9yb1PtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3DpFFNiiKCp3t+FUyeb7E3taxN7CtSDM54ivO5vI7TAiAIrzQzGItV2mGj/7nKFlAHq5Kvi2bbbDPPFFwZGhQ9Sw=="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.7":{"name":"mocha-unfunk-reporter","version":"0.1.7","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","chai":"~1.6.0","underscore":"~1.4.4","chai-fuzzy":"1.3.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal `spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, line overwrites, cursor tricks, escape codes or weird encodings.\r\n\r\nMain use-case is running mocha's node module embedded in external tools though IDE's like WebStorm, basic consoles and buffered output. It could easily be adapted to alternate unfunky displays. Tested in `grunt-mocha-test` (and similar) but works in all mocha node.js module flavors if you pass it to mocha as `reporter`.\r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display but there is a option to enable ANSI colors. It's a global option since we don't extend mocha's Base reporter so can't get the useColor parameter (and it's not even exposed to Mocha's module options anyway).\r\n\r\n## Notes\r\n\r\n* There's a object compare diff output (tested with chai equal/deepEqual/jsonOf etc)\r\n* I would like to add string diff support but it will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for command line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\nPass extra options using process.env (until I find a better way)\r\n\r\n````\r\n//enable colors using ANSI codes (nothing against some optional functional funk :)\r\nprocess.env['mocha-unfunk-color'] = true;\r\n````\r\n\r\n## Versions\r\n\r\n* 0.1.7 - package.json repos url fix\r\n* 0.1.6 - tight .npmignore\r\n* 0.1.5 - basic object diff\r\n* 0.1.4 - expose color option using process.env\r\n* 0.1.3 - cleaned test and dev dependencies\r\n* 0.1.2 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.7","dist":{"shasum":"83df90f9681b794595460103bbadf7a279e9777a","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.7.tgz","integrity":"sha512-UnI2orG8gRNUJg/+Ipz8TOkLRhzGXGWOl0LOIIhyOo3IOZzj4EVghcYhFJBOj1kmnqoM//dPdxz0bEdP8kPqHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIzzoF+fThMwJlGxgy0Th9AGbP0ujHZGK0zC/Ns92FFQIhAP2IVoytKg5Haglc9PQQSruCaboiCDFVgR5dB4UlicEJ"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.8":{"name":"mocha-unfunk-reporter","version":"0.1.8","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","chai":"~1.6.0","underscore":"~1.4.4","chai-fuzzy":"1.3.0","grunt-mocha":"git://github.com/Bartvds/grunt-mocha.git","mocha":"~1.11.0","grunt-simple-mocha":"~0.4.0","grunt-mocha-test":"~0.4.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nThis is a minimal `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, line overwrites, cursor tricks, escape codes or weird encodings.\r\n\r\nMain use-case is running mocha's node module, embedded in external tools in IDE's like WebStorm or in other setups with only basic consoles or buffered output. \r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness, so not all of mocha's reporter related features are supported.\r\n\r\n## Notes\r\n\r\n* There's an object-compare diff output powered by [objectDiff](https://github.com/NV/objectDiff.js), usefull with [chai](http://chaijs.com/) and deepEqual().\r\n* There should be string diff support but it will be tricky to do without depending on colors.\r\n* The reporter could easily be adapted to alternate unfunky display modes, I might even support browser consoles or remote logging.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\nPass extra options using process.env. It's a global option since we don't extend mocha's Base reporter so cannot access the useColor parameter.\r\n\r\n````\r\n// enable colors using ANSI codes (nothing against some optional functional funk :)\r\n\r\nprocess.env['mocha-unfunk-color'] = true;\r\n````\r\n\r\n## Versions\r\n\r\n* 0.1.8 - made compatible with grunt-mocha (PhantomJS)\r\n* 0.1.7 - package.json repos url fix\r\n* 0.1.6 - tight .npmignore\r\n* 0.1.5 - basic object diff\r\n* 0.1.4 - expose color option using process.env\r\n* 0.1.3 - cleaned test and dev dependencies\r\n* 0.1.2 - basic version, colors disabled\r\n\r\n## Compatibility\r\n\r\nTesting on:\r\n* mocha (node module)\r\n* grunt-mocha (grunt + phantomJS)\r\n* grunt-mocha-test (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-simple-mocha (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nSend an issue for tips on other \r\n\r\n## Editing\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display visual tests, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.8","dist":{"shasum":"aa1550083ce0cb89442b4c1ddc8d3ce343b73801","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.8.tgz","integrity":"sha512-QGS//T5AmMj6I1yBW6Yg0g2nO8nJZ1biZIZWhJgeAa6cXUrBa+dWmQHD/kTYBNLE/QhBlGK5y3fvo3TlJW5gCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF37epLZFlSTw2+4BoBnkAeY+058A0FhMcBtOSgr+knlAiEAvMVg/lwWDr9yKdmFtSlQ7n15RJoSMNlSvk0RaZ0SvDs="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.9":{"name":"mocha-unfunk-reporter","version":"0.1.9","description":"mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","chai":"~1.6.0","underscore":"~1.4.4","chai-fuzzy":"1.3.0","grunt-mocha":"git://github.com/Bartvds/grunt-mocha.git","mocha":"~1.11.0","grunt-simple-mocha":"~0.4.0","grunt-mocha-test":"~0.4.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nThis is a minimal `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, line overwrites, cursor tricks, escape codes or weird encodings.\r\n\r\nMain use-case is running mocha's node module, embedded in external tools in IDE's like WebStorm or in other setups with only basic consoles or buffered output. \r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness, so not all of mocha's reporter related features are supported.\r\n\r\n## Notes\r\n\r\n* There's an object-compare diff output powered by [objectDiff](https://github.com/NV/objectDiff.js), usefull with [chai](http://chaijs.com/) and deepEqual().\r\n* There should be string diff support but it will be tricky to do without depending on colors.\r\n* The reporter could easily be adapted to alternate unfunky display modes, I might even support browser consoles or remote logging.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\nPass extra options using process.env. It's a global option since we don't extend mocha's Base reporter so cannot access the useColor parameter.\r\n\r\n````\r\n// enable colors using ANSI codes (nothing against some optional functional funk :)\r\n\r\nprocess.env['mocha-unfunk-color'] = true;\r\n````\r\n\r\n## Versions\r\n\r\n* 0.1.9 - tighter text\r\n* 0.1.8 - made compatible with grunt-mocha (PhantomJS)\r\n* 0.1.7 - package.json repos url fix\r\n* 0.1.6 - tight .npmignore\r\n* 0.1.5 - basic object diff\r\n* 0.1.4 - expose color option using process.env\r\n* 0.1.3 - cleaned test and dev dependencies\r\n* 0.1.2 - basic version, colors disabled\r\n\r\n## Compatibility\r\n\r\nTesting on:\r\n* mocha (node module)\r\n* grunt-mocha (grunt + phantomJS)\r\n* grunt-mocha-test (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-simple-mocha (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nSend an issue for tips on other \r\n\r\n## Editing\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display visual tests, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.9","dist":{"shasum":"ca279e390b0725adedbf7ed8c2d84beebd35c30d","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.9.tgz","integrity":"sha512-W1yR6Fw6/+M+TOr0eSxWppXScD1d4oeYRH8Au3+q3z4ofA27SJXRDnXknctq8waspdZzvnWc1+WcfB3SGF1tcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgtjWcSMRnx/jeOhvlDfz/s8UydMuXetIlusiJf+/K6QIhAPjaI/j/wh7wkIjweE+KFPizPOd16fMpXysm9+HF7c9Z"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.10":{"name":"mocha-unfunk-reporter","version":"0.1.10","description":" Mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"grunt":"~0.4.1","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-mocha-spawn":"~0.1.0","chai":"~1.6.0","underscore":"~1.4.4","chai-fuzzy":"1.3.0","grunt-mocha":"git://github.com/Bartvds/grunt-mocha.git","mocha":"~1.11.0","grunt-simple-mocha":"~0.4.0","grunt-mocha-test":"~0.4.0"},"readme":"# mocha-unfunk-reporter\r\n\r\n[![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nThis is a minimal `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, line overwrites, cursor tricks, escape codes or weird encodings.\r\n\r\nMain use-case is running mocha's node module, embedded in external tools in IDE's like WebStorm or in other setups with only basic consoles or buffered output. \r\n\r\nThe reporter does *not* extend mocha's default Base reporter prototype, because that is a main source of funkyness. So not all of mocha's reporter related features are supported.\r\n\r\n## Notes\r\n\r\n* There's an object-compare diff output powered by [objectDiff](https://github.com/NV/objectDiff.js), usefull with [chai](http://chaijs.com/) and deepEqual().\r\n* There should be string diff support but it will be tricky to do without depending on colors.\r\n* The reporter could easily be adapted to alternate unfunky display modes, I might even support browser consoles or remote logging.\r\n\r\n## Usage\r\nInstall in your project using `npm install mocha-unfunk-reporter`. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Options\r\n\r\n````\r\n// global enable colors using ANSI codes (nothing against some optional functional funk :)\r\n\r\nrequire('mocha-unfunk-color').option('color', true);\r\n````\r\n\r\n## Versions\r\n\r\n* 0.1.10 - object diff fix, added option() method\r\n* 0.1.9 - tighter text\r\n* 0.1.8 - made compatible with grunt-mocha (PhantomJS)\r\n* 0.1.7 - package.json repos url fix\r\n* 0.1.6 - tight .npmignore\r\n* 0.1.5 - basic object diff\r\n* 0.1.4 - expose color option using process.env\r\n* 0.1.3 - cleaned test and dev dependencies\r\n* 0.1.2 - basic version, colors disabled\r\n\r\n## Compatibility\r\n\r\nTesting on:\r\n\r\n* mocha (node module)\r\n* grunt-mocha (grunt + phantomJS)\r\n* grunt-mocha-test (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-simple-mocha (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nSend an issue for tips on other \r\n\r\n## Editing\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display visual tests, and `grunt build` for a clean rebuild.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n* Has some bits and bobs from default reporters\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.10","dist":{"shasum":"922aded1faa25f9ae0679ad0c408f43df7124bee","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.10.tgz","integrity":"sha512-uRbA122cPeOCV06gG/6UYRgj1tpXSaYftVNUcn4Uf1z5OS0ouH3NkDGUaOIqvxh124Dut8x8YjG7cjYK8X1DZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp/B7lNzQpVZ6c4Bf7u0LWWC+lzhLvVw7/0Vo3tm0pMAIgAXYaz3Lgn+9fZkJN3v7PspOx8Y081Yhc9+s8pP2pSyU="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.1.12":{"name":"mocha-unfunk-reporter","version":"0.1.12","description":" Mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"underscore":"~1.4.4","grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-contrib-jshint":"~0.6.0","jshint-path-reporter":"~0.1.0","grunt-mocha":"git://github.com/Bartvds/grunt-mocha.git","grunt-mocha-spawn":"~0.1.0","grunt-mocha-test":"~0.4.0","grunt-simple-mocha":"~0.4.0","mocha":"~1.11.0","grunt-shell":"~0.3.0","chai":"~1.6.0"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in some IDE's or setups with text buffered output. In the default mode the report doesn't use ANSI control codes like the standard reporters do (there optional color though).\r\n\r\nThe reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n\r\n### Notes\r\n\r\n* There's an object-compare diff output powered by [objectDiff](https://github.com/NV/objectDiff.js), usefull with [chai](http://chaijs.com/) and deepEqual(). Currently it's very strict (maybe even stricter then your assertion!)\r\n* There should/must be string diff support but it is tricky to display without depending on colors.\r\n* It should be easily adapted to alternate unfunky display modes.\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\nnpm install mocha-unfunk-reporter --save-dev\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favorite mocha runner. For example in `grunt-mocha-test`:\r\n\r\n````\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/_tmp.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n### Options\r\n\r\nThere are multiple ways to pass globals:\r\n\r\n````\r\n//on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n````\r\n\r\nReport styling: **`style`** \r\n\r\n* `'plain'` (default) - plain text\r\n* `'ansi'` - plain with ansi color codes\r\n* `'html'` - html span's with colors\r\n* `'css'` - html span's with css classes\r\n\r\nOutput mode: **`writer`** \r\n\r\n* `'stdio'` (default) - stream to `process.stdout`\r\n* `'log'` - buffer and stream per line to `console.log()`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\n## Examples\r\n\r\nOption: `style = 'plain'`\r\n\r\n![plain](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/example_output_default.png)\r\n\r\n-----\r\n\r\nOption: `style = 'ansi'`\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/example_output_color.png)\r\n\r\n\r\n## Compatibility\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* grunt-mocha-test (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha (grunt + phantomJS) (use my [fork](https://github.com/Bartvds/grunt-mocha) until this [pull request](https://github.com/kmiyashiro/grunt-mocha/pull/74) lands)\r\n\r\nKnown to work:\r\n\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip on other suitable runners. \r\n\r\n## Versions\r\n\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Editing\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`.\r\n\r\nUse `grunt test` to rebuild and run tests, `grunt dev` to rebuild and display some failing tests, and check the `Gruntfile.js` for many more.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.1.12","dist":{"shasum":"1c88048ff19b36d753f35ef60886740bcba7cb89","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.1.12.tgz","integrity":"sha512-X0bq2RWN+I2sMFFazPKf8f0pVpXhwB2NwhMU9/nfJ3j/vHZO2joqCbRa9KhelwP6Ld6soFtGLEclOw32YvnXlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3C9mjij20SyHWpATvWTIhgbF99XERHXwWXXD771fOXAiEA+k9D7S0HiCK3QjGn4+MgwLeGu3A+ah44RjGM6uxssGQ="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.2.0":{"name":"mocha-unfunk-reporter","version":"0.2.0","description":" Mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","email":"bartvanderschoor@gmail.com"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"underscore":"~1.4.4","grunt":"~0.4.1","grunt-cli":"~0.1.9","grunt-typescript":"~0.1.5","grunt-contrib-clean":"~0.4.1","grunt-contrib-jshint":"~0.6.0","jshint-path-reporter":"~0.1.0","grunt-mocha":"git://github.com/Bartvds/grunt-mocha","grunt-mocha-spawn":"~0.1.0","grunt-mocha-test":"~0.4.0","grunt-simple-mocha":"~0.4.0","mocha":"~1.11.0","grunt-shell":"~0.3.0","chai":"~1.6.0","proclaim":"~1.4.0","grunt-wait":"~0.1.0","source-map-support":"~0.1.8"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters and won't use `stderr`.\r\n\r\nMain use-case is running mocha's in basic console views embedded in some IDE's or setups with text buffered output. The default config uses only some ANSI console color codes and writes with console.log() but has option to be tuned for your unfunky use case.\r\n\r\n### Notes\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha functions calls.\r\n\r\n### Diff\r\n\r\n* String-diff powered by [JsDiff](https://github.com/kpdecker/jsdiff), rendering even supports colorless display! \r\n* Object-diff tree powered by [objectDiff](https://github.com/NV/objectDiff.js). Currently maybe even stricter then your assertions!\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favorite mocha runner. For example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/_tmp.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n### Options\r\n\r\nThere are multiple ways to pass globals:\r\n\r\n````js\r\n//on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n````\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream`\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Examples\r\n\r\nSomething like this (may be outdated):\r\n\r\nOption: `style = 'plain'`\r\n\r\n![plain](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/example_output_default.png)\r\n\r\n-----\r\n\r\nOption: `style = 'ansi'`\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/example_output_color.png)\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-mocha (grunt + phantomJS) (use my [fork](https://github.com/Bartvds/grunt-mocha) until this [pull request](https://github.com/kmiyashiro/grunt-mocha/pull/74) lands)\r\n\r\nKnown to work:\r\n\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Versions\r\n\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Credit\r\n\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.2.0","dist":{"shasum":"1a7badd34f6d3fca0601e39bcfb1d615a1781b54","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.2.0.tgz","integrity":"sha512-XLVdMCYt+Q54oqo8Y5OolftM8FNX7q45gotvDsDBAebyrOop6jG178dl8xSXYrRxlLFn3TmCRfzGRgqWtyGHRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC59z7P9G5xNn1mOfOs20oq1ZMnbsfTsGe4UbFhj+d2OwIhAMu60sakmGyJQAFNE64skohbn+huLzlyFzsUZAj5d+Bb"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.2.1":{"name":"mocha-unfunk-reporter","version":"0.2.1","description":" Mocha console reporter without funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"},{"type":"BSD"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"underscore":"1.4.4","grunt":"0.4.1","grunt-cli":"0.1.9","grunt-typescript":"0.1.6","grunt-contrib-clean":"0.4.1","grunt-contrib-jshint":"0.6.0","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"1.11.0","grunt-shell":"0.3.0","chai":"~1.7.2","proclaim":"1.4.0","source-map-support":"0.1.8","grunt-bump":"0.0.11","grunt-mocha":"0.4.1"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output. The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May currently be even stricter then your assertions!\r\n\r\n### Options\r\n\r\nThere are multiple ways to pass globals:\r\n\r\n````js\r\n//on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n````\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream`\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this (outdated?):\r\n\r\nOption: `style = 'plain'`\r\n\r\n![plain](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/example_output_default.png)\r\n\r\n-----\r\n\r\nOption: `style = 'ansi'`\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/example_output_color.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick feature overview.\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Versions\r\n\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.2.1","dist":{"shasum":"62a947cbe30f4a0f9b48d6649240265096fbed33","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.2.1.tgz","integrity":"sha512-3MGILH5WrDySS4e580fClGYrEKSvUAL1bJZI9o0YkTLx8UD0mGE1xnKNHB0Y4ZR3QC1y2ZrvaCA1vVGU/dAaVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2c429qxkUOo1Ktuk7gF9Lc4fnkZAeXVtHsFzopPb4fgIhAIFAXUx8ywGD+0FZb7vXfY5Js4t640oInAjV+ur7NwU8"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.2.2":{"name":"mocha-unfunk-reporter","version":"0.2.2","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"},{"type":"BSD"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"underscore":"1.4.4","grunt":"0.4.1","grunt-cli":"0.1.9","grunt-typescript":"0.1.6","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"1.11.0","grunt-shell":"0.3.0","chai":"~1.7.2","proclaim":"1.4.0","source-map-support":"0.1.8","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output. The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May currently be even stricter then your assertions!\r\n\r\n### Options\r\n\r\nThere are multiple ways to pass globals:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n````\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream`\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this:\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.2.2","dist":{"shasum":"5b11330fb67acddd9347016bbf3599a5ff5d48d6","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.2.2.tgz","integrity":"sha512-92YPrfiSOkoxURXCM+DiUKongvkHWA7Nmw87t1+foXUBvzVbmdeDwC+cuLaJiw8fd1akCPm3fMZAh+My69/lrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn85VUbLQPPJrl2zF4QF3nGtCQ2e9Kc7WXwfrfvtbpswIgE0O411vw/Zka1aZJe/tzavh1ZPNco5ekcItv6Nl3bSI="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.2.3":{"name":"mocha-unfunk-reporter","version":"0.2.3","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"},{"type":"BSD"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{},"devDependencies":{"underscore":"1.4.4","grunt":"0.4.1","grunt-cli":"0.1.9","grunt-typescript":"0.1.6","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"1.11.0","grunt-shell":"0.3.0","chai":"~1.7.2","proclaim":"1.4.0","source-map-support":"0.1.8","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output. The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May currently be even stricter then your assertions!\r\n\r\n### Options\r\n\r\nThere are multiple ways to pass globals:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n````\r\nFor example these are ll equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream`\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this:\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.2.3","dist":{"shasum":"41c2aa001dc44eef80d073404728d2e4d4a09c90","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.2.3.tgz","integrity":"sha512-zLPUm7czRzcrzCXAE04EwAkzkm0Q2F/9UOPFkOkReqnHEDeYvsksM2JtYdeX6L6LpxoKc1erC4bvOXUtHFPGxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGfg4SvhOfJJl8/HYzppqWa+MC+rFulHZNBftIBnnfbAIhAIvbgyhoggIeqP8QAYPaHp1fZtMRSWQSd3pSvhW/13b6"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.3.0":{"name":"mocha-unfunk-reporter","version":"0.3.0","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"git://github.com/gruntjs/grunt/#0a4e6e38867cde1c396eb99820436027dccf8023","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n\r\n````\r\nFor example these are equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n\t//...\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, grunt task, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.0","dist":{"shasum":"a2d9dfebdb531e3231bafd0cfa5b3a815cf4a84d","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.0.tgz","integrity":"sha512-BkdNzrE2TKuHr0cfKh4uugfKd0cF3CoTOKoUhjSGrnaRsP9vBVapR36JEg8FOHH299DxGsNa8K/PmTlOb405HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmqqGnntpiSGP+g7gjIw1N6rqGDYiyg7/AuJQXnex+zgIgPQlAcMKLOLgbCDQYBC7YrF0+rJX7cWe61SGUPNCoKeA="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.3.1":{"name":"mocha-unfunk-reporter","version":"0.3.1","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"git://github.com/gruntjs/grunt/#0a4e6e38867cde1c396eb99820436027dccf8023","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#ec97fb27707253ddf3714cccc9f1f6c3afb20cca","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n\r\n````\r\nFor example these are equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n\t//...\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, grunt task, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.1","dist":{"shasum":"44c7ffa794153df9792ee8a50fd5e2b2af7c299c","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.1.tgz","integrity":"sha512-nq837OeITc59y58sKKEC42Jcuu6qvinEaQoFvL606nFxsKrN+hjAEtrC6/ZkR1uH3LYvjh7Wuamp8fgvYt2pcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTFWRoMPm+BNl+4UWwRgyNb0LabnyyorAud53MKu/FfAIgB0sFVhdUIUX+JWh3q0FISFYkshCSDxK+MAqLn5+Ri/A="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.3.2":{"name":"mocha-unfunk-reporter","version":"0.3.2","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"git://github.com/gruntjs/grunt/#0a4e6e38867cde1c396eb99820436027dccf8023","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#ec97fb27707253ddf3714cccc9f1f6c3afb20cca","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n\r\n````\r\nFor example these are equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n\t//...\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, grunt task, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.2","dist":{"shasum":"bea68bba2196c1ea8fc03ae0f71421e2a6a37ec5","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.2.tgz","integrity":"sha512-7AWu8SXgTm+vnSKQKS+KLfAiyY6xRmJ6HnL7cETJaeGKcpzIm4TAmI5co0J2ZQxnl29/B0IPZa0svegskreIPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3aitvDA/IeT6BO5YizCpuJTzzzXx6RtO+pHw0M8oB7wIgIdY2XWSZxBjeOLrdrUN7boOsTou+lI60eMjXiJ4w57M="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.3.3":{"name":"mocha-unfunk-reporter","version":"0.3.3","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"git://github.com/gruntjs/grunt/#0a4e6e38867cde1c396eb99820436027dccf8023","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#ec97fb27707253ddf3714cccc9f1f6c3afb20cca","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4","mkdirp":"~0.3.5"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n\r\n````\r\nFor example these are equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n\t//...\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, grunt task, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.3","dist":{"shasum":"1844194cc48bbabc4a75b4b15f5cdf494802f32f","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.3.tgz","integrity":"sha512-+HZb5xJKCqofMKlXSDHJ9eMtw8yMkOu+oPTMMDmLtJ0ps4U8AozxLZJbJwEnje1fukcybtEuuuNfLl8Xe4dnEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5GV+ghRmuhR247ycN23y8xjGmTT1bxbhCw/nuxQ09QAiEAv2KkhjFoMD6BgiTSigiFAaHJ1XeYlpCC8P+YPgCSTl4="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"directories":{}},"0.3.4":{"name":"mocha-unfunk-reporter","version":"0.3.4","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"git://github.com/gruntjs/grunt/#0a4e6e38867cde1c396eb99820436027dccf8023","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#ec97fb27707253ddf3714cccc9f1f6c3afb20cca","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4","mkdirp":"~0.3.5"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n\r\n````\r\nFor example these are equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n\t//...\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, grunt task, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.4","dist":{"shasum":"79c5977520677a6b8944106896b320481a4dd737","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.4.tgz","integrity":"sha512-g5zEG5tYBu2m1kN11IiYhhLCjcB/IXRRYlgR5zDlaGH98+K6EdYKjpQ/yzmwitu/AzfDXl4s5hwh0uucn1Lvmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmTrzWl2z01XAOLHdeYESon73NXxudekCac04SH7JeMAiEAh2ARgJc8jQaxmfzoKCXtKMXJQbhBSVLCjiMpR22K7xM="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}]},"0.3.5":{"name":"mocha-unfunk-reporter","version":"0.3.5","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"git://github.com/gruntjs/grunt/#0a4e6e38867cde1c396eb99820436027dccf8023","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#ec97fb27707253ddf3714cccc9f1f6c3afb20cca","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-mocha":"0.4.1","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4","mkdirp":"~0.3.5"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nMain use-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n\r\n//also in bulk\r\nrequire('mocha-unfunk-reporter').option({<name>: <value>, <name>: <value>});\r\n\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n\r\n````\r\nFor example these are equivalent:\r\n````\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t},\r\n\t}\r\n\t//...\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Usage\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// self test\r\n$ grunt\r\n\r\n// show some failing tests\r\n$ grunt dev\r\n````\r\n\r\nSee the `Gruntfile` for additional commands, including many mocha runners.\r\n\r\n## Versions\r\n\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, grunt task, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options, don't diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.5","dist":{"shasum":"64bd69891fae638d013ac1e03806c573a27e4ff1","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.5.tgz","integrity":"sha512-4iSiiiWmbffR/NaMinbC95xRAlqvCsQLOTVT6X6+E1rPP8BUpKf+MwQets4NG4KaV6HYE0RmXyKB8lgEyldxZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNG3KnRUlhloW4oygIQ4AuTQQ7NChm8SFNXpqGQILvqwIhANLWkFVNEoT94YhDvTdX7YRYXyTxwexwlZNaGs/Ipa4Y"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}]},"0.3.6":{"name":"mocha-unfunk-reporter","version":"0.3.6","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"~0.4.2","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#fixes/1.8.x","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"~0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4","mkdirp":"~0.3.5","chai-json-schema":"~1.0.5","q":"~0.9.7","grunt-mocha":"git://github.com/Bartvds/grunt-mocha/#555783e5373870ec867d5093e0f895478a6a9323"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nUse-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n\t* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\t* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n\r\n\r\n## Usage\r\n\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter --save-dev\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n````\r\n\r\nThese are equivalent:\r\n\r\n````js\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````js\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com) and powered by [gruntfile-gtx](https://github.com/Bartvds/gruntfile-gtx).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// build & display demo (handy for development)\r\n$ grunt -h\r\n\r\n// build & full test\r\n$ grunt\r\n\r\n// show gtx alias\r\n$ grunt -h\r\n\r\n// run test sub module\r\n$ grunt gtx:diff\r\n````\r\n\r\nSee the `Gruntfile` for additional commands.\r\n\r\n## Versions\r\n\r\n* 0.3.6 - relaxed string encoding, cleaned stack code, support Q longStack, support multi-line messages, fixed bugs & hardened output, added `q` and `node.js` to stack filter.\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, added grunt task to set options, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options (tip by @reydelamirienda), skip diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.6","dist":{"shasum":"5dd07ee02a813c12eabaca8a062ae7a419cac718","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.6.tgz","integrity":"sha512-yFfL8yWjhRaFrYXLygbbPvTx638tFuC/JchnM4RPatlxfT494T/Ka3gjzg+FniYvNrXwpUIcID5iS6SpYv/GbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9uFhoEi9vrzL35eNm08lq2bvLU4xrGmrBO0VHuzOqogIgCk2V475kc/dLhVJAVg9tfbFkbzbw0mwO6QIAFR93WgQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}]},"0.3.7":{"name":"mocha-unfunk-reporter","version":"0.3.7","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","diff":"~1.0.7"},"devDependencies":{"grunt":"~0.4.2","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#fixes/1.8.x","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-bump":"0.0.11","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"~0.1.2","gruntfile-gtx":"0.0.7","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","grunt-typescript":"~0.2.4","mkdirp":"~0.3.5","chai-json-schema":"~1.0.5","q":"~0.9.7","grunt-mocha":"git://github.com/Bartvds/grunt-mocha/#555783e5373870ec867d5093e0f895478a6a9323"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nUse-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n\r\n### Diffs\r\n\r\n* There is a diff report with custom display that works even on plain-text display.\r\n\t* Object-diff algorithm is [objectDiff](https://github.com/NV/objectDiff.js) with nested string-diff. May be stricter then your assertions!\r\n\t* String-diff algorithm is [jsDiff](https://github.com/kpdecker/jsdiff). \r\n\r\n\r\n## Usage\r\n\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter --save-dev\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n````\r\n\r\nThese are equivalent:\r\n\r\n````js\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````js\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/Bartvds/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com) and powered by [gruntfile-gtx](https://github.com/Bartvds/gruntfile-gtx).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// build & display demo (handy for development)\r\n$ grunt -h\r\n\r\n// build & full test\r\n$ grunt\r\n\r\n// show gtx alias\r\n$ grunt -h\r\n\r\n// run test sub module\r\n$ grunt gtx:diff\r\n````\r\n\r\nSee the `Gruntfile` for additional commands.\r\n\r\n## Versions\r\n\r\n* 0.3.6 - relaxed string encoding, cleaned stack code, support Q longStack, support multi-line messages, fixed bugs & hardened output, added `q` and `node.js` to stack filter.\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, added grunt task to set options, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options (tip by @reydelamirienda), skip diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## Credit\r\n\r\n* String diff from [jsDiff](https://github.com/kpdecker/jsdiff) by Kevin Decker\r\n* Object diff from [objectDiff](https://github.com/NV/objectDiff.js) by Nikita Vasilyev\r\n* Color codes from [colors.js](https://github.com/marak/colors.js/) by Marak Squires & Alexis Sellier (cloudhead)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.3.7","dist":{"shasum":"3d51ac1804dce71ecd471e4e7aa96ce2e9a6dfec","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.3.7.tgz","integrity":"sha512-RH9sYlxwftW+XUiUe3FjfNfZjQKVeYrdpJrtya0FABxLifD3XNcb/MO3IWNkJKx/uH+toRxXOfqMGw2c2GKUew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6OjEkldL1S+JGuilIjVmhmJGhwIYdxFgdBRaQsLygIQIgSPlj2HF7H7fSa/WZ4MLjP9wd3Xn872Tz53JjQxxKaF0="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}]},"0.4.0":{"name":"mocha-unfunk-reporter","version":"0.4.0","description":"Mocha reporter without console funkyness","author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"homepage":"https://github.com/Bartvds/mocha-unfunk-reporter","repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"bugs":{"url":"https://github.com/Bartvds/mocha-unfunk-reporter/issues"},"licenses":[{"type":"MIT","url":"https://github.com/Bartvds/mocha-unfunk-reporter/blob/master/LICENSE-MIT"}],"keywords":["mocha","reporter","windows","tools","console","unfunk"],"main":"build/unfunk.js","scripts":{"test":"grunt test"},"dependencies":{"jsesc":"0.4.3","unfunk-diff":"~0.0.1","miniwrite":"~0.1.3","ministyle":"~0.1.3"},"devDependencies":{"grunt":"~0.4.2","grunt-cli":"0.1.9","grunt-contrib-clean":"0.4.1","jshint-path-reporter":"~0.1.0","grunt-mocha-test":"~0.4.0","mocha":"~1.13.0","grunt-shell":"0.3.0","chai":"git://github.com/Bartvds/chai/#fixes/1.8.x","proclaim":"1.4.0","source-map-support":"0.2.3","grunt-contrib-jshint":"~0.6.3","grunt-continue":"0.0.1","grunt-fileindex":"~0.1.0","tslint-path-formatter":"0.1.0","grunt-tslint":"~0.3.2","grunt-run-grunt":"~0.1.2","gruntfile-gtx":"~0.2.1","ansidiff":"~1.0.0","grunt-concurrent":"~0.4.1","chai-fs":"0.0.3","mkdirp":"~0.3.5","chai-json-schema":"~1.0.5","q":"~0.9.7","grunt-mocha":"~0.4.7","grunt-ts":"~1.5.0"},"readme":"# mocha-unfunk-reporter\r\n[![Build Status](https://secure.travis-ci.org/Bartvds/mocha-unfunk-reporter.png?branch=master)](http://travis-ci.org/Bartvds/mocha-unfunk-reporter) [![Dependency Status](https://gemnasium.com/Bartvds/mocha-unfunk-reporter.png)](https://gemnasium.com/Bartvds/mocha-unfunk-reporter) [![NPM version](https://badge.fury.io/js/mocha-unfunk-reporter.png)](http://badge.fury.io/js/mocha-unfunk-reporter)\r\n\r\n> Mocha reporter without console funkyness\r\n\r\n## What?\r\n\r\nThis is a `Spec`-style console reporter for [mocha](http://visionmedia.github.io/mocha/) that doesn't confuse lesser console environments with funky display modes, cursor tricks or weird control characters.\r\n\r\nUse-case is running mocha's in basic console views embedded in IDE's or setups with text buffered output (like travis-ci). The default config uses only some ANSI console colour codes and writes with console.log() but has option to be tuned up or down for your specific unfunky use-case.\r\n\r\n### Notes\r\n\r\n* The reporter does *not* extend mocha's default Base prototype because that is a main source of funkyness. This means not all of mocha's reporter features are supported.\r\n* There are many features to ease testing usability, like aggressive attempts at getting a sensible error message or a stack filter that attempts to compact the stack trace by dropping mocha function calls.\r\n* Object & string diffs by [unfunk-diff](https://github.com/Bartvds/unfunk-diff).\r\n* Output by [ministyle](https://github.com/Bartvds/ministyle) & [miniwrite](https://github.com/Bartvds/miniwrite).\r\n\r\n\r\n## Usage\r\n\r\nInstall from npm:\r\n\r\n````\r\n$ npm install mocha-unfunk-reporter --save-dev\r\n```` \r\n\r\nThen use `'mocha-unfunk-reporter'` as `reporter` parameter in your favourite mocha runner. \r\n\r\nFor example in `grunt-mocha-test`:\r\n\r\n````js\r\ngrunt.initConfig({\r\n\t// ...\r\n\tmochaTest: {\r\n\t\toptions: {\r\n\t\t\treporter: 'mocha-unfunk-reporter'\r\n\t\t},\r\n\t\tany: {\r\n\t\t\tsrc: ['test/**/*.test.js']\r\n\t\t}\r\n\t}\r\n});\r\n````\r\n\r\n## Options\r\n\r\nThere are multiple ways to set global options:\r\n\r\n````js\r\n//on module using .option() method\r\nrequire('mocha-unfunk-reporter').option('<option_name>', <option_value>);\r\n//or on env with prefixed name\r\nprocess.env['mocha-unfunk-<option_name>'] = <option_value>;\r\n//env also work Bash-style: upper-cased and underscores instead of dashes\r\nprocess.env['MOCHA_UNFUNK_<OPTION_NAME>'] = <option_value>;\r\n````\r\n\r\nThese are equivalent:\r\n\r\n````js\r\nprocess.env['MOCHA_UNFUNK_REPORTPENDING'] = true;\r\nprocess.env['mocha-unfunk-reportPending'] = true;\r\n\r\nrequire('mocha-unfunk-reporter').option('reportPending', true);\r\nrequire('mocha-unfunk-reporter').option({reportPending: true});\r\n````\r\n\r\nThe package also expose a grunt task `mocha_unfunk` to set reporter options.\r\n\r\n````js\r\ngrunt.initConfig({\r\n\tmocha_unfunk: {\r\n\t\tmyStyle: {\r\n\t\t\toptions: {\r\n\t\t\t\tstyle: 'plain'\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n````\r\n\r\n\r\n### Values\r\n\r\nReport styling: `style`\r\n\r\n* `'ansi'` - plain with ansi color codes (default)\r\n* `'plain'` - plain text\r\n* `'none'` - even plainer text\r\n* `'html'` - html span's with css colors\r\n* `'css'` - html span's with css classes\r\n* `'dev'` - style development codes\r\n\r\nOutput mode: `writer` \r\n\r\n* `'log'` - buffer and stream per line to `console.log()` (default)\r\n* `'stdio'` - stream to `process.stdout`\r\n* `'bulk'` - single buffered `console.log()`\r\n* `'null'` - ignore output\r\n\r\nReport details about pending specs, alongside failures: `reportPending`\r\n\r\n* `false` (default) or `true`\r\n\r\nUse custom stream: `stream` \r\n\r\n* any standard `WritableStream` (only usable via `require()`)\r\n\r\nFilter internals from stack: `stackFilter` \r\n\r\n* `true` (default) or `false`\r\n\r\n## Examples\r\n\r\nSomething like this: ([full version](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-02.png))\r\n\r\n![ansi](https://raw.github.com/Bartvds/mocha-unfunk-reporter/master/media/mocha-unfunk-04.png)\r\n\r\nIf you got development install you can use `$ grunt demo` to get a quick demo overview.\r\n\r\n\r\n## Compatibility\r\n\r\n### Assertion libraries\r\n\r\nTested with:\r\n\r\n* [Chai Assertion Libary](http://chaijs.com) (best of the best, but no IE < 9)\r\n* [Proclaim](https://github.com/rowanmanning/proclaim) (Chai-like `'assert'`, supports IE < 9)\r\n* CommonJS-style `'assert'` (Node.js, browserify etc)\r\n\r\nShould work with any assertion library, like:\r\n\r\n* Expect.js (minimal reporting, use Chai's expect-style)\r\n* Should.js (untested, use Chai's should-style)\r\n\r\nCreate an issue if you got a tip or see bugs.\r\n\r\n### Mocha flavors:\r\n\r\nTesting on:\r\n\r\n* mocha (bin cli)\r\n* [grunt-mocha](https://github.com/kmiyashiro/grunt-mocha) (grunt + phantomJS)\r\n* [grunt-mocha-test](https://github.com/pghalliday/grunt-mocha-test) (grunt + node)\r\n\r\nKnown to work:\r\n\r\n* grunt-simple-mocha (grunt + node)\r\n* grunt-mocha-spawn (grunt + node)\r\n* grunt-cafe-mocha (grunt + node)\r\n\r\nCreate an issue if you got a tip or request for more.\r\n\r\n## Build\r\n\r\nUnfunk-reporter is written in [TypeScript](http://typescript.com) and built using [grunt](http://gruntjs.com) and powered by [gruntfile-gtx](https://github.com/Bartvds/gruntfile-gtx).\r\n\r\nInstall development dependencies in your git checkout:\r\n````\r\n$ npm install\r\n````\r\n\r\nYou need the global [grunt](http://gruntjs.com) command:\r\n````\r\n$ npm install grunt-cli -g\r\n````\r\n\r\nBuild and run tests:\r\n````\r\n// build & display demo (handy for development)\r\n$ grunt -h\r\n\r\n// build & full test\r\n$ grunt\r\n\r\n// show gtx alias\r\n$ grunt -h\r\n\r\n// run test sub module\r\n$ grunt gtx:diff\r\n````\r\n\r\nSee the `Gruntfile` for additional commands.\r\n\r\n## Versions\r\n\r\n* 0.4.0 - externalised [unfunk-diff](https://github.com/Bartvds/unfunk-diff), using [ministyle](https://github.com/Bartvds/ministyle), [miniwrite](https://github.com/Bartvds/miniwrite), dropped obsolete code.\r\n* 0.3.7 - fixed some bugs\r\n* 0.3.6 - relaxed string encoding, cleaned stack code, support Q longStack, support multi-line messages, fixed bugs & hardened output, added `q` and `node.js` to stack filter.\r\n* 0.3.0 - improved diffs (speed, linebreaks, escape with [jsesc](https://github.com/mathiasbynens/jsesc)), added output testing, added grunt task to set options, updated project\r\n* 0.2.3 - support bash style uppercased+underscore-style ENV options (tip by @reydelamirienda), skip diff excessively lengthy objects (strings/arrays/arguments/buffers) \r\n* 0.2.2 - fixed regular Error (stack) reporting, added `chai-as-promised` & `mocha-as-promised` to stack filter, updated screenshot\r\n* 0.2.1 - tweaked display, added pending test report (by @geekdave)\r\n* 0.2.0 - added string diff, more assertions and runner compatibility, changed default to `style='ansi'`\r\n* 0.1.13 - fix for grunt-mocha duration stats compatibility\r\n* 0.1.12 - refactored options; added style and writer\r\n* 0.1.11 - added mocha bin command test, improved reporting\r\n* 0.1.10 - objectDiff fix, added option() methods\r\n* 0.1.8 - compatible with grunt-mocha (PhantomJS)\r\n\r\n## License\r\n\r\nCopyright (c) 2013 Bart van der Schoor\r\n\r\nLicensed under the MIT license.\r\n\r\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Bartvds/mocha-unfunk-reporter/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\r\n\r\n","readmeFilename":"README.md","_id":"mocha-unfunk-reporter@0.4.0","dist":{"shasum":"59eda97aec6ae6e26d7af4173490a65b7b082d20","tarball":"https://registry.npmjs.org/mocha-unfunk-reporter/-/mocha-unfunk-reporter-0.4.0.tgz","integrity":"sha512-i/m/IDdhOcpJAFNKLGP6NzRVAvGfhSiAuH5SP3SgiUONAemjhevV7H151eZUd4QrBYkEg5RxYlJ2MRUWetF6Rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdPoNVwCuBOQJjFKnsRxIVbNmIozuTQNa2O+DLSwET4wIgft5qWBjsTluAWVqTnVZ0EKiOD1gwRK1QvIMQn1wj0eY="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"bartvds","email":"bartvanderschoor@gmail.com"},"maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}]}},"readme":"# mocha-unfunk-reporter\r\n\r\n> mocha console reporter without funkyness\r\n\r\n## What?\r\n\r\nUnfunk-reporter is a minimal spec-style console reporter that doesn't confuse lesser enviroments with funky display tricks, line overwrites, escapes or weird encodings. Main use-case is running `mocha`'s node module as external tool in IDE's like WebStorm or other basic consoles, but should work in all cli/console mocha flavours if you manage to pass it to mocha as `--reporter`. It should easily be adapted to alternate unfunky displays.\r\n\r\nThe reporter does *not* extend `mocha`'s default Base reporter prototype, because that is main source of funkyness, so not all of mocha's reporter related options are supported.\r\n\r\nIt defaults to colorless display, although there is a functional ANSI styler. But since we can't use the Base reporter there's currently no clean way to enable this using `color/no-color`. If you *must* have some color in your reporting you can re-enable it in unfunk.ts and recompile.\r\n\r\n## Todo\r\n\r\n* There's a *major* bug in most `grunt` `mocha` plugin regarding async errors, which prevents the combination to be as successfull as it should. This is reflected in the crazy devDependencies.\r\n\r\n* I'm open for suggestions how to pass options and enable color properly, especially if it works with mocha's `color/no-color` flags.\r\n\r\n* Since it is low on dependencies and only writing forward (no carriage returns or weird offset operators) it should also be possible to make a browser (console) version, even something that streams to a unfunky remote display.\r\n\r\n* I would like to add diff support but that will be tricky to do without depending on colors.\r\n\r\n## Usage\r\n\r\nInstall in your project using `npm install mocha-unfunk-reporter`, maybe global for comamnd line mocha. Then use `mocha-unfunk-reporter` as mocha's `reporter` parameter.\r\n\r\n## Versions\r\n\r\n0.1.1 - basic version, colors disabled\r\n\r\n## Develop\r\n\r\nUnfunk-reporter is written in TypeScript and built using `grunt`: so run `grunt` to rebuild and display a test, and `grunt build` for a clean rebuild.\r\n\r\n## Example output\r\n\r\nMay or may not be up-2-date with actual output.\r\n\r\n```\r\n  kitteh\r\n    can\r\n      meow.. pass\r\n      has\r\n        milk.. pass\r\n        cheeseburgers.. pass\r\n        some\r\n          yarn.. pass\r\n          hats.. fail\r\n        no\r\n          dogs.. fail\r\n\r\n  mocha grunt task\r\n    should register a multi task.. pass\r\n    should run asynchronously.. pass\r\n    should clear the require cache before sending tests to mocha so that it can be run from a watch task.. pass\r\n    should load mocha options from mochaTestConfig.. pass\r\n    should use named config where available.. pass\r\n    should expand and add the file list to files in Mocha.. pass\r\n    should catch and log exceptions thrown by Mocha to the console before failing the task so that it can be run from a watch task.. pass\r\n    should fail if any tests fail.. pass\r\n    should succeed if no tests fail.. pass\r\n    should add a single file added to the require option.. pass\r\n    should expose global variables from the file added with the require option.. fail\r\n    invert option\r\n      should not call the invert chainable function by default.. pass\r\n      should pass through the invert option to the invert chainable function.. pass\r\n    ignoreLeaks option\r\n      should not call the ignoreLeaks chainable function by default.. pass\r\n      should pass through the ignoreLeaks option to the ignoreLeaks chainable function.. pass\r\n    growl option\r\n      should not call the growl chainable function by default.. pass\r\n      should pass through the growl option to the growl chainable function.. pass\r\n    globals option\r\n      should not call the globals chainable function by default.. pass\r\n      should pass through the globals option to the globals chainable function.. pass\r\n    with grunt 0.4.x\r\n      should expand and add the file list to files in Mocha.. pass\r\n\r\nexecuted 28 tests with 3 failures and 1 pending (85ms)\r\n\r\n1: kitteh can has some hats\r\n      expected 'hat' to equal 'silly'\r\n\r\n2: kitteh can has no dogs\r\n      expected 'dogs' to equal 'not here'\r\n\r\n3: mocha grunt task should expose global variables from the file added with the require option\r\n      ReferenceError: testVar is not defined\r\n        at Context.<anonymous> (D:\\_Editing\\github\\mocha\\test\\mocha.test.js:188:14)\r\n        at Test.Runnable.run (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runnable.js:213:32)\r\n        at Runner.runTest (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:351:10)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:397:12\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:277:14)\r\n        at D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:286:7\r\n        at next (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:234:23)\r\n        at Object._onImmediate (D:\\_Editing\\github\\mocha\\test\\node_modules\\mocha\\lib\\runner.js:254:5)\r\n        at processImmediate [as _immediateCallback] (timers.js:309:15)\r\n","maintainers":[{"name":"bartvds","email":"bartvanderschoor@gmail.com"}],"time":{"modified":"2022-06-20T01:50:18.840Z","created":"2013-05-18T14:39:20.847Z","0.1.1":"2013-05-18T14:39:25.516Z","0.1.2":"2013-05-18T14:42:45.047Z","0.1.3":"2013-05-20T14:15:49.283Z","0.1.4":"2013-05-20T17:30:24.125Z","0.1.5":"2013-06-06T20:22:16.511Z","0.1.6":"2013-06-11T23:18:32.726Z","0.1.7":"2013-06-12T01:17:31.276Z","0.1.8":"2013-06-13T21:12:43.965Z","0.1.9":"2013-06-14T16:21:39.758Z","0.1.10":"2013-06-25T15:26:29.918Z","0.1.12":"2013-06-28T17:48:23.035Z","0.2.0":"2013-07-12T19:36:31.332Z","0.2.1":"2013-08-16T02:38:03.563Z","0.2.2":"2013-09-26T23:00:20.186Z","0.2.3":"2013-09-27T18:41:42.919Z","0.3.0":"2013-10-30T23:42:06.627Z","0.3.1":"2013-10-31T02:49:08.026Z","0.3.2":"2013-11-01T20:44:11.281Z","0.3.3":"2013-11-03T12:37:17.163Z","0.3.4":"2013-11-05T06:49:45.031Z","0.3.5":"2013-11-05T23:55:49.373Z","0.3.6":"2013-11-26T14:44:45.135Z","0.3.7":"2013-11-28T03:04:55.546Z","0.4.0":"2013-12-18T01:50:39.376Z"},"author":{"name":"Bart van der Schoor","url":"https://github.com/Bartvds"},"repository":{"type":"git","url":"https://github.com/Bartvds/mocha-unfunk-reporter.git"},"users":{"hellboy81":true}}